line String/Array#indexOf but return all the indexes in an array
Get first index of value in array, like Array.indexOf().
Get indices of all values in array equal to specified value, like Array.indexOf().
A tiny, faster alternative to native Array.prototype.indexOf
The indexOf()
method searches the array for the specified item, and returns its position.