Sha256: 54d9d31209b28ab98db0df6cc7ea59e1c8d6ac0fa05a8159b398f48f9c2ac162

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/last-index-of');

var ArrayPrototype = Array.prototype;

module.exports = function (it) {
  var own = it.lastIndexOf;
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.lastIndexOf) ? method : own;
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/es/instance/last-index-of.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/last-index-of.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/last-index-of.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/last-index-of.js