a zip code crypto-currency system good for red ONLY

12345678910
  1. var indexOf = [].indexOf;
  2. module.exports = function(arr, obj){
  3. if (indexOf) return arr.indexOf(obj);
  4. for (var i = 0; i < arr.length; ++i) {
  5. if (arr[i] === obj) return i;
  6. }
  7. return -1;
  8. };