tc39/proposal-Array.prototype.includes
Spec, tests, reference implementation, and docs for ESnext-track Array.prototype.includes
HTMLNOASSERTION
Issues
- 1
- 2
- 3
why is includes not implemented like the other related methods (find, findIndex etc.)
#37 opened by marcelh-gh - 8
Should we deal with holes?
#15 opened by domenic - 10
[NaN].includes(NaN) === true?
#29 opened by jacobp100 - 1
add "excludes" for symmetry
#35 opened by mahonnaise - 0
Advance to stage 4
#13 opened by domenic - 6
Get into JavaScriptCore
#9 opened by domenic - 0
- 1
Get into SpiderMonkey
#8 opened by domenic - 1
Add "includes" to unscopables?
#34 opened by anba - 1
Link to 'contains' rationale broken
#33 opened by brylie - 5
Get into V8
#7 opened by domenic - 1
Get into V8: %TypedArray%.prototype.includes
#27 opened by domenic - 2
Advance to stage 3
#12 opened by domenic - 1
Get review from ES spec editor
#11 opened by domenic - 2
- 9
Put tests in separate module
#30 opened by ljharb - 0
They fail for NaN, as indexOf uses Strict Equality Comparison and thus [NaN].indexOf(NaN) === -1.
#25 opened by Yaffle - 0
Using SameValue is not a good idea for the same reasons it is not used by Map and Set.
#24 opened by Yaffle - 0
Advance to stage 2
#10 opened by domenic - 2
- 1
ToLength is hard to test
#21 opened by domenic - 0
Infinities are not properly handled
#20 opened by domenic - 3
Publish to npm
#17 opened by ljharb - 1
Should Array.prototype.contains be enumerable?
#19 opened by ljharb - 2
Is fromIndex good?
#5 opened by domenic - 0
Capture indexOf analogy with string
#14 opened by domenic - 2
Which equality comparator?
#4 opened by domenic - 1
Advance to stage 1
#6 opened by domenic - 0
Reference implementation
#2 opened by domenic - 1
Documentation
#3 opened by domenic