jscritic icon indicating copy to clipboard operation
jscritic copied to clipboard

Promise is labelled as a global

Open slaneyrw opened this issue 10 years ago • 1 comments

The use of a Promise is being labelled as a global variable instead of an ES6 feature.

slaneyrw avatar Dec 14 '14 21:12 slaneyrw

Pretty sure this is JSHint's inability to understand Promise as ES6

kangax avatar Dec 14 '14 21:12 kangax