hexo/node_modules/core-js/library/modules/es6.array.some.js

11 lines
375 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'use strict';
var $export = require('./_export');
var $some = require('./_array-methods')(3);
$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {
// 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
some: function some(callbackfn /* , thisArg */) {
return $some(this, callbackfn, arguments[1]);
}
});