Understanding Strict Mode in Javascript


Use strict mode to enforce stricter parsing and error handling in your scripts.

Source Code

'use strict';
x = 3.14; // This will cause an error because x is not declared
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments