summaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/es6.array.some.js
blob: fa1095edc233e7023e1827d8401437c3057176d4 (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';
var $export = require('./_export')
  , $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]);
  }
});