Sha256: f333065748f4203e5b508793eebf8c60b979fb22fc60be2eebdb8e2c359cd418
Contents?: true
Size: 199 Bytes
Versions: 252
Compression:
Stored size: 199 Bytes
Contents
var indexOf = [].indexOf; module.exports = function(arr, obj){ if (indexOf) return arr.indexOf(obj); for (var i = 0; i < arr.length; ++i) { if (arr[i] === obj) return i; } return -1; };
Version data entries
252 entries across 249 versions & 14 rubygems