disabling "use strict"; everywhere

Andreas Rossberg rossberg at google.com
Wed Jan 30 09:22:38 PST 2013

On 30 January 2013 17:19, Brandon Benvie <brandon at brandonbenvie.com> wrote:
> Correction, the use strict directive needs to appear as the first statement
> (ExpressionStatement) that's not an EmptyStatement and not a
> FunctionDeclaration. Anything else will cause the directive to be ignored.

_Any_ statement/declaration before the use directive renders it
inoperational, empty, function, or otherwise. Actually, any _token_
before the magic string does.


More information about the es-discuss mailing list