"Mobile WEB front-end development of advanced practice @ www.java1234.com.pdf" - 2

 

5.3 Scope, this closure, and

 

Let the variable declaration code blocks only exist in which it resides

 

 

 

 

Since then determine when JS is based on the meaning of the lexical (static) scoping language, lexical scope when the function is defined to determine the scope, rather than the function execution

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/cx2016/p/12063851.html