es6.array.every.js 370 B

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