mirror of https://github.com/jkjoy/sunpeiwen.git
11 lines
370 B
JavaScript
11 lines
370 B
JavaScript
|
'use strict';
|
||
|
var $export = require('./_export');
|
||
|
var $every = require('./_array-methods')(4);
|
||
|
|
||
|
$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {
|
||
|
// 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
|
||
|
every: function every(callbackfn /* , thisArg */) {
|
||
|
return $every(this, callbackfn, arguments[1]);
|
||
|
}
|
||
|
});
|