View Single Post
Old 05-04-2012, 11:29 PM   PM User | #4
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,468
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by VIPStephan View Post
(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.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote