This is an archived page. It's not actively maintained.

JavaScript warnings are generated when code is executed that doesn't cause a run-time error, but is non-standard, poorly written, or prone to cause logic errors. This preference controls whether JavaScript warnings are logged to the JavaScript Console.

Example :

<label id="name">Enter you First Name</label>
<p id ="sample"></p>
"use strict"
name1= "John" ;   // This will cause and an error as variable  not declared .
var name2= "Peter";
document.getElementById("sample").innerHTML = name1;


Possible values and their effects:

True: Show JavaScript errors and warnings.

False: Show JavaScript errors only. (Default)


See also: