Sha256: 40d4159215551ac50edb01c3fe2d300984794288cc31b56b75f36e889721aeeb

Contents?: true

Size: 290 Bytes

Versions: 11

Compression:

Stored size: 290 Bytes

Contents

var findLastIndex = require('../array/virtual/find-last-index');

var ArrayPrototype = Array.prototype;

module.exports = function (it) {
  var own = it.findLastIndex;
  return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findLastIndex) ? findLastIndex : own;
};

Version data entries

11 entries across 10 versions & 3 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.15.2 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.18.4 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.18.1 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.14.0 test/dummy/node_modules/core-js/features/instance/find-last-index.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/core-js/features/instance/find-last-index.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/core-js/features/instance/find-last-index.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/core-js/features/instance/find-last-index.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/core-js/features/instance/find-last-index.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/core-js/features/instance/find-last-index.js