-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ECMAscript v5/Strict complience #566
Comments
Hmm. Instead of forcing people to litter their code with |
That makes perfect sense. |
Great, closing this ticket for the time being. We'll re-open it / implement it when browsers are ready. |
Sounds like a plan, I'll update when browsers trickle in support for strict mode. |
Chrome, Safari and Firefox now support strict mode, and Internet Explorer 10 will as well. Is this worth doing now? |
👍 (+1) |
+1 for automatic strict mode compilation for every CS-File |
Turns out that strict mode doesn't actually enable any code optimizations in current generation browsers ... it adds extra checks that make it slower, if anything. Closing as a |
I predict we will be waiting around another year for the browsers to actually execute strict mode code quickly. sigh... |
ok, 2 years for now. strict mode is in. +1 to go for it |
I think it's faster now :). |
👍 |
See 2337. |
ES5/Strict requires that you put at the top of the function call the string literal "use strict";
While theres only one current implementation of strict mode ( http://besen.sourceforge.net/ ),
it would be useful to allow the parser to check if the first line of your coffee is the string "use strict" and place it above all the var declarations in the final converted js
The text was updated successfully, but these errors were encountered: