Lasse Reichstein wrote:
Is this a deliberate Mozilla change

This is a hold-over from the past. It dates from ES4 days when the draft spec in TC39 proposed unreserving keywords not only after . in expressions and before : in object literal property assignments, but also after 'function'.

We have a bug on this: https://bugzilla.mozilla.org/show_bug.cgi?id=638667. In it you'll see comments from dherman and me last year trying to hold off on fixing the bug, in case Harmony adopts this proposal. If TC39 can decisively reject it, we'll fix the bug. Maybe we should just fix the bug anyway but I suspect we'll break some Mozilla-only code out there, so this won't happen quickly.

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to