5 ms·
I believe JS is lexically scoped... but it is in fact the most misunderstood language in the world. https://www.ecma-international.org/ecma-262/5.1/#sec-10.2 h
by decentralised 6y ago
I believe JS is lexically scoped... but it is in fact the most misunderstood language in the world.
https://www.ecma-international.org/ecma-262/5.1/#sec-10.2 https://www.ecma-international.org/ecma-262/5.1/#sec-10.2
https://www.ecma-international.org/ecma-262/5.1/#sec-13.2 https://www.ecma-international.org/ecma-262/5.1/#sec-13.2
https://2ality.com/2011/04/ecmascript-5-spec-lexicalenvironment.html https://2ality.com/2011/04/ecmascript-5-spec-lexicalenvironm...