CS-Interview-Knowledge-Map icon indicating copy to clipboard operation
CS-Interview-Knowledge-Map copied to clipboard

活动对象在ES5后不存在了

Open atony2099 opened this issue 6 years ago • 0 comments

原文: 对于函数 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?

atony2099 avatar Jan 14 '19 17:01 atony2099