UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

15 lines (12 loc) 327 B
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimFlatMap() { var polyfill = getPolyfill(); define( Array.prototype, { flatMap: polyfill }, { flatMap: function () { return Array.prototype.flatMap !== polyfill; } } ); return polyfill; };