Build the best interview map. The current content includes JS, network, browser related, performance optimization, security, framework, Git, data structure, algorithm, etc.
ES5 (and higher) does no longer use a standard JS object to store variables. It uses lexical environments (with this value and scope chain) that contain environment records of various kinds in which the values for the variables are stored.
Javascript, Does ES5+ still has an activation object?
原文: 对于函数 foo 来说,VO 不能访问,只能访问到活动对象(AO)
ES5 (and higher) does no longer use a standard JS object to store variables. It uses lexical environments (with this value and scope chain) that contain environment records of various kinds in which the values for the variables are stored. Javascript, Does ES5+ still has an activation object?