All files / src/domain/Polyfills index.js

0% Statements 0/12
0% Branches 0/8
0% Functions 0/2
0% Lines 0/8
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;