Inspectopedia Help

Implicitly declared global JavaScript variable

Reports an implicit declaration of a global variable.

Example:

var aaa = 1; // good bbb = 2; // bad, if bbb is not declared with 'var' somewhere

Inspection options

Here you can find the description of settings available for the Implicitly declared global JavaScript variable inspection, and the reference of their default values.

Check assignments in global scope

Not selected

Last modified: 29 April 2024