Shim for ECMAScript 5 Array.prototype.indexOf.
Based on source from Mozilla.
Via Component:
component install gamtiq/array-indexof-shim
var indexOf = require("array-indexof-shim");
...
var nIndex1 = someArray.indexOf(someValue1, nStartIndex);
var nIndex2 = indexOf.call(someArray, someValue2);
MIT