We are having a debate at my work, some people say when using es6 and nodejs, without babel of course, you should always add 'use strict' BECAUSE some es6 methods may not work. I can't find documentation supporting this, is it true?
Asked
Active
Viewed 1,442 times
1
-
Are you asking if strict mode is enabled by default or something because you're using es6? No, it's not. – Mulan Aug 17 '16 at 19:57
-
1answered [here](http://stackoverflow.com/a/31685340/17447) and [here](http://stackoverflow.com/a/29285330/17447) – naveen Aug 17 '16 at 20:04
1 Answers
2
Per the spec:
Module code is always strict mode code.
http://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code

adam-beck
- 5,659
- 5
- 20
- 34