Umama-at-Bluchip/Quick-UI
0
1'use strict';2 3var define = require('define-properties');4var getPolyfill = require('./polyfill');5var shimUnscopables = require('es-shim-unscopables');6 7module.exports = function shimFindLast() {8 var polyfill = getPolyfill();9 define(10 Array.prototype,11 { findLast: polyfill },12 { findLast: function () { return Array.prototype.findLast !== polyfill; } }13 );14 15 shimUnscopables('findLast');16 17 return polyfill;18};19 