JavaScript scopes: JavaScript scope objects

Source: Internet
Author: User
Tags object variables

Scope objects, which are also translated into namespaces in some places, create a scope object every time a function is created, all parameters and local variables are attributes of this object. The scope object is also a property of the function object itself. The scope object of the outer function when the function is nested is the property of the scope object for the inner-layer function. This creates a chain of scopes.
C language, local variables placed in the stack, the completion of functions, the top of the stack pointer to change, these local variables are all out of this article link http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20130124/36517.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.