Map, Set and WeakMap should be added to "standard" #626

Closed
rwaldron opened this Issue Aug 24, 2012 · 4 comments

2 participants

@rwaldron
JSHint member

Should be in this list: https://github.com/jshint/jshint/blob/master/jshint.js#L707-735

I will gladly submit a patch for this.

@valueof
JSHint member

I don't mind although this list was supposed to represent ES5 and AFAIK none of these globals are in ES5.

@rwaldron
JSHint member

Very true. But eventually the standard won't be ES5, it will be ES6. Is your intention to keep them separate?

@valueof
JSHint member

Good point. I don't really want two separate lists especially since you can blacklist globals thanks to @goatslacker. Are there any other globals that you think should be included?

@rwaldron
JSHint member

So far this is safe. There are some that will arrive in time, but they aren't yet concrete. I nominate myself to keep track of this over time :)

@valueof valueof closed this in 2afc765 Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment