Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Examples of correct code for this rule with global declaration:

/*global someFunction, a*/
/*eslint no-undef: "error"*/

var foo = someFunction();
var bar = a + 1;
Source by eslint.org #
 
PREVIOUS NEXT
Tagged: #Examples #correct #code #rule #global
ADD COMMENT
Topic
Name
8+2 =