Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Examples of correct code for the { "typeof": true } option with global declaration:

/*global a*/
/*eslint no-undef: ["error", { "typeof": true }] */

if(typeof a === "string"){}
Source by eslint.org #
 
PREVIOUS NEXT
Tagged: #Examples #correct #code #true #option #global
ADD COMMENT
Topic
Name
5+2 =