blob: 92298cff31a55a0b4dfe8a6b52294fff13ba13d0 (
plain) (
tree)
|
|
var indexOf;
if (Array.prototype.indexOf) {
indexOf = Array.prototype.indexOf;
} else {
indexOf = function (o) {
// I know
var i;
for (i = 0; i < this.length; ++i) {
if (this[i] === o) {
return i;
}
}
return -1;
};
}
export { indexOf as default };
|