Recently, I ran some of my JavaScript code through Crockford\'s JSLint, and it gave the following error:
Problem at line 1 character 1: Missing \"use
Use Strict is used to show common and repeated errors so that it is handled differently , and changes the way java script runs , such changes are :
Prevents accidental globals
No duplicates
Eliminates with
Eliminates this coercion
Safer eval()
Errors for immutables
you can also read this article for the details