Conversation
|
@coolaj86 could you please explain the purpose of this change? Is something does not work without the "use strict"? |
If you don't If you have a linter integrated into your editor (jshint, eslint, etc), it would most likely catch things like accidental global scope, accidental modification of global this, accidental assignment to The problem with not having Ex: You forget a https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode There's only upside, no downside, and it's required as part of the ES5 spec to run in ES5+ mode. |
No description provided.