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