GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — confusion about properties and methods · Issue #1134 · javascript-tutorial/en.javascript.info

confusion about properties and methods #1134

New issue
Copy link
New issue
Copy link
Closed
Closed
confusion about properties and methods#1134
Copy link

Description

@Ooggle
Ooggle
opened on Jul 10, 2019
Issue body actions

I think there is a little mistake on this file :
2-ui/1-document/01-browser-environment/article.md

line 25 :

// global functions are accessible as properties of window

It should be a methods instead of properties no ?

full code :

function sayHi() {
  alert("Hello");
}

// global functions are accessible as properties of window
window.sayHi();

Activity

  1. iliakan commented on Jul 11, 2019

    @iliakan
    iliakan
    on Jul 11, 2019
    Member
    More actions

    okay, in js methods is a kind of properties, I'll change this.

    Reacted by Ooggle
  2. iliakan
    closed this as completedon Jul 11, 2019
  3. Ooggle commented on Jul 11, 2019

    @Ooggle
    Ooggle
    on Jul 11, 2019
    Author
    More actions

    Oh okay, thanks for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.