Syntax of UseStrictDirectives
david-sarah at jacaranda.org
Fri May 22 20:43:44 PDT 2009
Jon Zeppieri wrote:
> 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?
At the risk of speaking for others: proponents of strict mode are
not particularly concerned that the syntax to declare its use is a
bit of a hack (as long as it is not *too* complicated). We care much
more about being able to enforce the restrictions it defines.
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
More information about the es5-discuss