-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove strict mode #5259
remove strict mode #5259
Conversation
Why would you want to remove strict mode? It's not just about let/const. |
Good question, @miniak. I've always seen I think most of the protections we get from There is a fork of |
I would like to remove this from the documentation at least for sure, it's just clutter |
The usages of I'm good with either keeping |
I vote for adding |
I don't feel strongly about this, so I'm happy to close given the downvotes, but I'd like to defer to @kevinsawicki and @jlord for any feedback they may have first. |
Yeah, I'd prefer to either completely remove it or use it in all files.
This sways me to say we should use it everywhere to make Electron as fast as possible 🐎 💨 |
If it makes Electron faster, I'm 👍 for the Electron source code (though tbh I'm not convinced it'll make any difference since Electron code is almost solely trampolines into native code), but the docs should remove it |
As of Chromium 49,
use strict
is no longer required forconst
andlet
.