Reputation: 172
I trying to write javascript code on Brackets IDE. But it shows error every time I run the code. JSLint problem
console.log(a);
Says that 'console' was used before it was defined. console.log(a); I do not know how to fix it. Please can somebody help me fix this issue with Brackets.
Upvotes: 0
Views: 2331
Reputation: 20026
If you use
/*global document, window, alert, console, require*/
at the top of your file, it fixes this issue.
Upvotes: 2