David Herman dherman at mozilla.com
Thu Nov 17 13:27:03 PST 2011

On Nov 17, 2011, at 12:56 PM, Brendan Eich wrote:

> This would require migration through two steps. One to ES5 strict to get rid of the with above (which relies on ASI). The second to ES.next or whatever retasks 'with'.

I don't understand this-- that's already the case, since there's no with-statement in ES6.

> Also, using 'with' around object literals makes me want functional record update. IIRC we've talked about that before.

That's one of the things I like about `with` for this: prototype extension is already a great mechanism for functional update on objects.


More information about the es-discuss mailing list