1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import values from 'object.values'; import entries from 'object.entries'; const bindPolyfills = () => { if (! Object.values) { values.shim(); } if (! Object.entries) { entries.shim(); } }; export default bindPolyfills; |