<div dir="ltr"><div class="gmail_extra">On Wed, Oct 18, 2017 at 4:51 AM, Mark Banner <span dir="ltr"><<a href="mailto:mbanner@mozilla.com" target="_blank">mbanner@mozilla.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">I did an experiment, and the only way I got an error out was to have
"javascript.options.strict" on and
</div></blockquote><div><br></div><div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">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.<br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">-Dan Veditz<br></div></div></div></div></div>