Reputation: 10211
Why not just think unresolved JavaScript variable an error?
I am from Java and cannot figure out that. Is it because JavaScript have some unresolved JavaScript variable that even IDE cannot know?
Upvotes: 0
Views: 596
Reputation: 306
Here is a scenario: webstorm cannot predict what variables will be available globally. For example check jQuery's $ sign.
A related question: Webstorm says console is an unresolved variable
Upvotes: 1