Anybody know how to enable strict mode? in simulator or device.
just adding 'use strict' at the first line of the each file didn't work for me.
i did not think you could enable it, only get the validator to generate errors/warnings by setting the Validation properties on the project with JSLint
You can use strict mode by just adding "use strict" at the first line on v8, but I don't think it's available on JSC (iOS). Note that you need to specify "use strict" in every CommonJs module because every CommonJs module is new JS context (new and clean JS environment).
Think you can help? Login to answer this question!