-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ember's enumerable contains
should align with ES7 Array#contains.
#5670
Comments
👍 thanks! we'll get it fixed asap |
Rock! I made a jsbin for an unrelated Underscore issue that shows this. Just open the web console and try |
@jdalton thanks for the headsup, we appreciate it! |
i have a fix, will push once i get to work. |
@stefanpenner can this be closed? |
I forgot about #9262, will complete |
This should be changed to |
Ya, though might hold off a bit. As far as I know the TC39 chose |
@jdalton 👍 |
At the moment Ember's contains does not match
NaN
values or support afromIndex
like the ES7 Array#contains does. This can cause an inconsistency when Ember addsArray.prototype.contains
.The text was updated successfully, but these errors were encountered: