00bb30e8ffda5e54417eb443b3d01c822588f5c18315ff1e2dcab30fa91a94d1a3ad4edb2999d71df4b8e6e9b02b93a8d1f952fda1963e3818364c46b6f00d 547 B

123456789101112
  1. 'use strict';
  2. var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
  3. var $some = require('../internals/array-iteration').some;
  4. var aTypedArray = ArrayBufferViewCore.aTypedArray;
  5. var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
  6. // `%TypedArray%.prototype.some` method
  7. // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some
  8. exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {
  9. return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  10. });