The Array.prototype.includes proposal [1] is on track for ES2016 and is 
currently in stage 3 of the process, awaiting shipping implementations 
before it can advance to stage 4. It provides a nice way to test for 
membership in an array (including avoiding edge cases around NaN).

Firefox already ships this in Nightly, and Safari already ships in the 
Safari 9 betas (although not including %TypedArray%.prototype.includes, 
last I checked).

V8 issue: https://code.google.com/p/v8/issues/detail?id=3575
Owner: [email protected]

[1]: https://github.com/tc39/Array.prototype.includes

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to