Hacker News new | ask | show | jobs
by decentralised 2273 days 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-13.2

https://2ality.com/2011/04/ecmascript-5-spec-lexicalenvironm...