Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upstrict mode #287
Comments
dcousens
added
the
question
label
Oct 9, 2015
This comment has been minimized.
This comment has been minimized.
marvinroger
commented
Oct 10, 2015
|
Knowing that Node ^4.0.0 requires strict mode to be able to use the new ES6 |
This comment has been minimized.
This comment has been minimized.
|
My guess is so that you can check for snippets of a file, but I don't know enough about the project's history to make an authoritative comment. |
This comment has been minimized.
This comment has been minimized.
|
Also: enforcing the pragma would break a ton of packages using |
This comment has been minimized.
This comment has been minimized.
|
Right, what @yoshuawuyts said.
If you need node support, just add "use strict" to your files. |
sonnyp commentedOct 9, 2015
Couldn't find a discussion on the topic.
What's the logic behind not enforcing strict mode in standard?