What strict mode eval declarations did we really ban?
Mark S. Miller
erights at google.com
Wed Feb 11 08:47:25 PST 2009
On Wed, Feb 11, 2009 at 8:22 AM, Allen Wirfs-Brock <
Allen.Wirfs-Brock at microsoft.com> wrote:
> Declaration binding instantiation creates an array object for a function
> only if the function does not have any explicit declarations named
> "arguments". However, there is currently no strict mode restriction on such
> Adding such a restriction would be a feature addition to what, at this
> point, should be a frozen feature set (I consider the related ongoing
> discussions to be clarification of intent for already committed features
> rather than new feature proposals). I'm not dogmatic about things like
> this, but at this point there probably should be pretty overwhelming
> consensus before we add any new feature.
Agreed. And I doubt we will get such consensus quickly for arguments. But in
case we can, I'll put in my vote: I'm in favor of imposing a similar strict
mode restriction on "arguments".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Es-discuss