CS-Interview-Knowledge-Map
CS-Interview-Knowledge-Map copied to clipboard
活动对象在ES5后不存在了
原文: 对于函数 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?