Syntax of UseStrictDirectives
Allen.Wirfs-Brock at microsoft.com
Fri May 22 16:51:21 PDT 2009
>From: es5-discuss-bounces at mozilla.org [mailto:es5-discuss-
>bounces at mozilla.org] On Behalf Of Jon Zeppieri
>Strict mode really wants new syntax, and ES5 won't add new syntax.
>So-- and I realize this is a fait accompli, but-- why is strict mode
>in ES5, when the pragma syntax to support it properly isn't?
Resig presents a pretty good discussion of why strict mode, and the string literal based use strict directive is valuable:
More information about the es5-discuss