es6.array.some.js 365 B

12345678910
  1. 'use strict';
  2. var $export = require('./_export');
  3. var $some = require('./_array-methods')(3);
  4. $export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {
  5. // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
  6. some: function some(callbackfn /* , thisArg */) {
  7. return $some(this, callbackfn, arguments[1]);
  8. }
  9. });