Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 10
    downvotes are still coming in because I used namespacing instad of scoping; this is a matter of definition - see eg Wikipedia: A namespace in computer science (sometimes also called a name scope), is an abstract container or environment created to hold a logical grouping of unique identifiers or symbols (i.e., names). and A namespace identifier may provide context (Scope in computer science) to a name, and the terms are sometimes used interchangeably. Commented Oct 1, 2014 at 15:44
  • 5
    Javascript's function-level scopes provide the space that variable names live in, a namespace; that it is an anonymous one not associated with a namespace identifier is irrelevant... Commented Oct 1, 2014 at 15:51
  • 2
    I think down votes are coming because your comment is not really helpfull for beginner. Commented Jul 9, 2023 at 2:23