Sha256: d04c30802aec7c321519d86aa2409570a0d2cd3b86846da3413d2061082b12f2

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

'use strict';
var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
var $findIndex = require('../internals/array-iteration').findIndex;

var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;

// `%TypedArray%.prototype.findIndex` method
// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex
exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {
  return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
});

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/core-js/modules/es.typed-array.find-index.js
tang-0.2.1 spec/tang_app/node_modules/core-js/modules/es.typed-array.find-index.js
tang-0.2.0 spec/tang_app/node_modules/core-js/modules/es.typed-array.find-index.js
tang-0.1.0 spec/tang_app/node_modules/core-js/modules/es.typed-array.find-index.js
tang-0.0.9 spec/tang_app/node_modules/core-js/modules/es.typed-array.find-index.js
enju_library-0.3.8 spec/dummy/node_modules/core-js/modules/es.typed-array.find-index.js