I was using indexOf method on top of an array in IE 8 and it gave error (as it is not suported). I opted to use underscore.js library. I used the _.indexOf(array, value, [isSorted])
from underscorejs library. But indexOf() of underscore.js library is case sensitive but I want to ignore the case while comparing the value. How can I ignore case while using this function.
I can always use for loop to loop over the array and then use toLowerCase() but I wonder if there is out of box method which can do this for me.