16 was lucky to have tested the information System Project manager, the thesis actually prepared 4 articles. The exam I wrote is the scope of management, paper 47 points, the following is the paper.
Because the test is written on the back, I can
Main content:1, analyze the meaning of JavaScript lexical scope
2. The scope chain of analytic variables
3. What is the name of the variable?
In a recent lecture on JavaScript on the podcast, many friends feel that JavaScript is so simple, but I
Objective Through this article, you probably understand the scope, the scope chain is what, after all, this is also the basic concept of JS. I. Scope (SCOPE)What is a scope, you can understand the scope of the variable that you declare, I declare a
Closures and scope chain is a more important concept in JavaScript, these two days to read some information, the relevant knowledge points to the following summary.
JavaScript takes the lexical scope (lexical scoping), where the function execution
Talk about the scope scope and closure closure in JSScope and closure are two very key concepts in JavaScript, the former JS with more than a good understanding, closure is not the same. I have been plagued by this concept for a long time,
Nine large built-in objects
Built-in objects (also called suppressed objects, with 9 built-in objects): You can use them freely in scripting code and expressions without having to declare them in advance.1-out:Javax.servlet.jsp.JspWriter type that
Use functions in JS to note three points:1, when the function is invoked, it is run in the grammatical environment when he is declared;
2, the function can not run itself, it is always called by the object, the function runs, the function body of
Javascript scope and JS Scope
After reading this article, I found that the more basic things are displayed, the more advanced they are.Reference: http://realazy.org/blog/2007/07/18/scope-in-javascript/Scope is one of the cornerstones of the
The calling object is at the front of the scope chain, and local variables (variables declared within the function with Var), function arguments, and arguments objects are all within the scope of the function-meaning they hide any attribute with the
The Execution Environment (Executin context) is one of the most important concepts in JS. The execution environment defines the behavior of other data that variables or functions have access to. Each execution environment has a variable object
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.