Sha256: 8b0e44dc34e593ec42643aeabe7a27c5c5be7804353aba704caa64d5dcea0c3b

Contents?: true

Size: 442 Bytes

Versions: 52

Compression:

Stored size: 442 Bytes

Contents

'use strict';

var define = require('define-properties');
var getPolyfill = require('./polyfill');
var shimUnscopables = require('es-shim-unscopables');

module.exports = function shimFindLastIndex() {
	var polyfill = getPolyfill();
	define(
		Array.prototype,
		{ findLastIndex: polyfill },
		{ findLastIndex: function () { return Array.prototype.findLastIndex !== polyfill; } }
	);

	shimUnscopables('findLastIndex');

	return polyfill;
};

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
rapid_stack-0.2.0 templates/frontend/node_modules/array.prototype.findlastindex/shim.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/array.prototype.findlastindex/shim.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.60 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.59 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.58 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.57 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.56 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.55 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.54 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.53 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.52 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.51 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.50 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.49 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.48 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.47 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.46 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.45 node_modules/array.prototype.findlastindex/shim.js
immosquare-cleaner-0.1.44 node_modules/array.prototype.findlastindex/shim.js