On Wed, Oct 18, 2017 at 4:51 AM, Mark Banner <mban...@mozilla.com> wrote:

> I did an experiment, and the only way I got an error out was to have
> "javascript.options.strict" on and
>

​Why isn't it a code-style/review requirement that our own internal JS
include "use strict"? As a quick check I found 659 .jsm files in our tree
and only about 500 with "use strict"​. A quick skim of .js files shows a
similar ratio. It's not terrible (call it a "B" grade?) but we could do
better.

-Dan Veditz
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to