Why are global variables *non-deletable* properties of the global object?
Brendan Eich
brendan at mozilla.org
Thu Jun 19 19:23:29 PDT 2008
On Jun 19, 2008, at 6:33 PM, Brendan Eich wrote:
> If you are
> using the squarefree.com then you're not testing an ES-anything-
> conformant global object implementation!
I meant to hyperlink "shell" after "the squarefree.com" in this
sentence to
http://www.squarefree.com/shell/shell.html
Indeed it uses eval, which makes var bindings deletable per ES1-3. (I
don't recall the rationale for ES1 making var bindings created by
eval deletable -- it was not something the original Netscape
implementation did.)
/be
More information about the Es4-discuss
mailing list