Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
Besides use strict, which other use directives are there?
A tweet by Jeremy Ashkenas suggests some further use of + and - prefixes in the same 'use ...'; string ('use stricter +types -tco +jsx +asm +es2019-pre';), but that seems to contradict the spec (further clarified in kangax's answer and Bergi's answer).
'use stricter +types -tco +jsx +asm +es2019-pre';
In case it's still of interest to anyone, I just ran across a "use asm" directive, for use with asm.js.
So it seems like there may be additional "use" options added over time.
Although it isn't a declarative like "use strict";, the next version of ECMAScript (codenamed Harmony) will apparently have an opt-in capability you can use in the <script> tag.
From this article:
The article is an overview of this presentation by David Herman, which is very much worth watching.
Thanks, watching it now.
Just a note from the future, this never happened after all.