Is ES5 Strict a fully statically scoped language?

Šime Vidas sime.vidas at
Wed Oct 3 09:41:41 PDT 2012

In the talk "Changes to JavaScript, Part 1: EcmaScript 5", Mark Miller
states that ES5 Default contains four static scope violations (direct link: He also states that
ES5 Strict corrects these violations, making ES5 Strict is a statically
scoped language. I don't understand how that can be true, since it is
possible to dynamically add bindings to the global environment by creating
new global properties (during code evaluation). Isn't this a static scope
violation, too?

-- Šime Vidas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list