2017-05-28 00:38:50 +02:00
|
|
|
'use strict';
|
2017-08-14 05:01:11 +02:00
|
|
|
var $export = require('./_export');
|
|
|
|
var $every = require('./_array-methods')(4);
|
2017-05-28 00:38:50 +02:00
|
|
|
|
|
|
|
$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {
|
|
|
|
// 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
|
2017-08-14 05:01:11 +02:00
|
|
|
every: function every(callbackfn /* , thisArg */) {
|
2017-05-28 00:38:50 +02:00
|
|
|
return $every(this, callbackfn, arguments[1]);
|
|
|
|
}
|
2017-08-14 05:01:11 +02:00
|
|
|
});
|