Dave's Brain

Browse - Programming Tips - Old - Can I make Firefox do strict (like perl's use strict) checking?

Date: 2009nov9
Language: javaScript

Q.  Can I make Firefox do strict (like perl's use strict) checking?

A.  Yes, in about:config set:

javascript.options.strict = true
I'd prefer a way to turn this off/on in code but that doesn't currently exist.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.