❗modify current scope at runtime❗️
🚧 施工中
Last updated
🚧 施工中
Last updated
JS ⟩ concepts ⟩ scope ⟩ modify current scope at runtime
will introduce a new variable into the current scope. (I think "modify scope" is not accurate, "modify lexical environment" maybe) lexical environment vs. scope
will not introduce a new variable into the current scope, the newly created variable is local to the inner script. ( eval has its own scope in strict mode )