Quote:
Originally Posted by VIPStephan
(Note that strict is the only type you’ll ever need if you create new documents)
|
That doesn't just apply to HTML - it also applies to JavaScript.
All new JavaScript should be written to run in strict mode by placing the statement
"use strict"; at the top of the JavaScript.