2009/1/18 Brendan Eich <[email protected]>:
> The other unreserved context in JS1.7 and later is after the 'function'
> keyword. Unambiguous, complementary, useful for some cases. It's easy to
> tweak ES3.1's grammar to allow keywords in this context too. Thoughts?

It would be surprising to be able to say "function if(x) {return x;}"
but not "if(33);". On property names, we symmetrically unreserve both
the definition (by object literal) and the use (by ".").

-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM
_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to