Calling Array.indexOf(input Array,"A") gives the index of “A” in input Array.But how to get all the index of “A” in the array if “A” occurs more than once in the input Array using a similar function.
Calling Array.indexOf(input Array,A) gives the index of A in input Array.But how to get
Share
1 Answer