Getting Indexes Of Values in Arrays.
Hi, if I have the following array,
- myArray = new Array(0,4,3,8,7,4,5,11,12,4,10,9,8);
If I want to search for the value, 4 - it will output a string with the indexes of the original array - in this case it would be 1,5,9.
Currently I am looping through the array and building a string.
Thanks,