a zip code crypto-currency system good for red ONLY

some.js 401B

12345678910111213141516171819
  1. 'use strict';
  2. var callable = require('es5-ext/object/valid-callable')
  3. , forOf = require('es6-iterator/for-of')
  4. , call = Function.prototype.call;
  5. module.exports = function (cb/*, thisArg*/) {
  6. var thisArg = arguments[1], result = false;
  7. callable(cb);
  8. forOf(this, function (value, doBreak) {
  9. if (call.call(cb, thisArg, value)) {
  10. result = true;
  11. doBreak();
  12. }
  13. });
  14. return result;
  15. };