Sha256: 816758bff27ce8a353921f05b17afb31891a1395c4109a51bf1b9b7f8070dde1
Contents?: true
Size: 547 Bytes
Versions: 64
Compression:
Stored size: 547 Bytes
Contents
'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = require('./_export'); var $find = require('./_array-methods')(6); var KEY = 'findIndex'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { findIndex: function findIndex(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); require('./_add-to-unscopables')(KEY);
Version data entries
64 entries across 29 versions & 8 rubygems