UNPKG

@unclepaul/allcountjs

Version:

The open source framework for rapid business application development with Node.js

19 lines (16 loc) 360 B
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 };