"Annotation" "JavaScript You Don't Know (Volume 1)" Chapter 2: Lexical Scope

Lexical stage

  • Example of nested scope

Find

Deceptive lexicon

eval() function

  • The eval function in strict mode is invalid

with keyword

  • Basic usage
  • Using with sometimes pollutes global variables

performance

summary

Guess you like

Origin blog.csdn.net/sinat_41696687/article/details/114794022