Should I add "use strict" to my meteor files?

javascript, meteor

Solution

Using `"use strict"` in Meteor is still a good practice - it is JavaScript after all.

Problem

In javascript development running your code in strict mode by adding: ``` "use strict"; ``` To the beginning of your functions is a common best practice. However I have yet to see anyone do so in a meteor application. Does this best practice not apply to Meteor? Maybe because it sets strict mode on a higher level? I know that node can be run with the --use-strict command line parameter to enforce this. But I do not know of a way to do the same in the client.

Original source