Y
Hacker News
new
|
ask
|
show
|
jobs
by
bmn__
3249 days ago
includes is the same as indexof, what's the big deal in your opinion?
1 comments
nailer
3248 days ago
Index of element is greater than minus one is an odd way of thinking about whether an array contains an element.
link