I found these methods, indexOf() apparently doesn't work for internet explorer 8 
There are a lot of options, I want to know which one is like the defacto or what I should opt to use for best results.
Also, if the result is undefined, how do I use that as a value do I simply use it as a string like "undefined" or is it null? 
array.find() 
array.findIndex()
array.indexOf("string");
In this example of replacing a string within an array knowing the index, they use indexOf, should I be concerned of incompatibility?
var index = items.indexOf(3452);
if (index !== -1) {
    items[index] = 1010;
}
 
    