source: trip-planner-front/node_modules/core-js/features/instance/find-last-index.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 290 bytes
Line 
1var findLastIndex = require('../array/virtual/find-last-index');
2
3var ArrayPrototype = Array.prototype;
4
5module.exports = function (it) {
6 var own = it.findLastIndex;
7 return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findLastIndex) ? findLastIndex : own;
8};
Note: See TracBrowser for help on using the repository browser.