UNPKG

array.prototype.findlastindex

Version:

An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.

8 lines (5 loc) 168 B
'use strict'; var implementation = require('./implementation'); module.exports = function getPolyfill() { return Array.prototype.findLastIndex || implementation; };