Kevin Smith wrote:
OK. One last question: I'm reading that the strictness of arrow functions is determined only the strictness of their enclosing context, and not by any prologues inside of them. True?

    x => { "use strict"; with (x) {} } // Not a strict-mode error

Spec bug if so -- that should make the arrow function so stated have strict code.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to