Software Engineer based in West London. With 20 years of experience in IT industry I specialise in building carefully crafted responsive and accessible projects
"strict mode became default after the introduction of ES6." - no, it did not. Like Jon above said: MODULES introduces in ES2015/ES6 are strict by default. Everything else is still as it was - "sloppy mode" -until you add 'use strict'; into your code ;)
Yeah, the strict mode became default after the introduction of ES6. I forgot to mention that in the post.
Thanks for sharing!!
"strict mode became default after the introduction of ES6." - no, it did not. Like Jon above said: MODULES introduces in ES2015/ES6 are strict by default. Everything else is still as it was - "sloppy mode" -until you add 'use strict'; into your code ;)
Ahh, Now I get it.
Thanks!!