source: node_modules/core-js-pure/es/instance/find-last-index.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 375 bytes
RevLine 
[d24f17c]1'use strict';
2var isPrototypeOf = require('../../internals/object-is-prototype-of');
3var method = require('../array/virtual/find-last-index');
4
5var ArrayPrototype = Array.prototype;
6
7module.exports = function (it) {
8 var own = it.findLastIndex;
9 return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own;
10};
Note: See TracBrowser for help on using the repository browser.