Mark S. Miller wrote:
Indirect eval is always non-strict and scoped only by the global
scope.
(1,eval)(' "use strict"; let x = 8;')
is a strict indirect eval.
Yes. I hope it was clear I meant that, absent any "use strict"; directive in the eval'd source, an indirect eval even from strict code does not inherit strictness from its caller. No dynamic scope.
/be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

