Closed zenorocha closed 6 years ago
I want to say yes! But, what is about those people who dont know about the "disadvantages"?!
+@sindresorhus
I'm tempted to say we should use it on these patterns and make a note about it in the readme/docs. An extract derived from John Resig's post about use strict
:
Strict Mode is a feature in ECMAScript 5 that allows you to place a program, or a function, in a "strict" operating context. This strict context prevents certain actions from being taken and throws more exceptions.
Strict mode helps out in a couple ways:
Maybe the document from MDN about "strict mode" is a better point to read for unsuspecting.
or that ^. I'd be down with either.
Yes!
There are no downsides if you know what you're doing. For everyone else there's documentation, preferably the MDN one.
Let's get this in sometime soon.
Should we use it on these patterns?