Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

w-what?!

So there is a new way to activate strict mode?!



Nope, you'll still need to use "use strict" if you're not in a class definition or a module. It's just that classes and modules are strict mode by default (and there's no way of changing that as far as I know).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: