3 ms·
includes is the same as indexof, what's the big deal in your opinion?
by bmn__ 9y ago
includes is the same as indexof, what's the big deal in your opinion?
- nailer 9y agoIndex of element is greater than minus one is an odd way of thinking about whether an array contains an element.