In the talk "Changes to JavaScript, Part 1: EcmaScript 5", Mark Miller states that ES5 Default contains four static scope violations (direct link: http://www.youtube.com/watch?v=Kq4FpMe6cRs&t=42m53s). 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
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss