Why variable object was changed to lexical environment in ES5?
问题 ES5 changed variable object(VO) to lexical environment. What's the motivation of such change since VO is already very obvious as perception? 回答1: I think variable objects are more analogous to environment records. An Environment Record records the identifier bindings that are created within the scope of its associated Lexical Environment. In ES5 there are two different kinds of environment records: Declarative environment records are used to define the effect of ECMAScript language syntactic