PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.9k stars 1.35k forks source link

missing use strict mode #208

Closed daton89 closed 7 years ago

daton89 commented 7 years ago

In client/app/*.js files there isn't the starter "use strict"

in ES6 it is required but there is some reason for which may be missing?

tytskyi commented 7 years ago

@daton89

Module code is always strict mode code.

http://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code

Which means you don't need to put it manually

fesor commented 7 years ago

Closing this since @tytskyi already provided right link.