Strict mode recap

Jon Zeppieri jaz at bu.edu
Fri Apr 4 10:37:49 PDT 2008


On Fri, Apr 4, 2008 at 1:25 PM, Lars Hansen <lhansen at adobe.com> wrote:
>
>  I hope the forthcoming spec on names will clarify
>  this, so I suggest we hold off arguing about this particular point for
>  the moment.

Happily.

>
>  You can argue, and I think you are arguing, that there is no utility in
>  allowing ns to be variable and allowing id to be replaced by [expr].

Specifically for local variables, yes.

>  I disagree, based on my experience analyzing uses of eval in scripts
>  written for the web, which to an astonishing degree evaluate simple
>  variable names or object.property phrases.

I've seen this, too, but rather than proving the utility of this
feature, I tend to consider it as evidence of a silent epidemic of
brain damage among ES programmers...

-Jon



More information about the Es4-discuss mailing list