Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
bmn__
8y ago
0 comments
Share
includes is the same as indexof, what's the big deal in your opinion?
0 comments
default
newest
oldest
nailer
8y ago
Index of element is greater than minus one is an odd way of thinking about whether an array contains an element.
j
/
k
navigate · click thread line to collapse