Object.values() received following error:
Object.values()
TypeError: Object.values is not a function.
From this question on stack
Here's a polyfill that kicks in only when it's not already defined:
const objectToValuesPolyfill = (object) => { return Object.keys(object).map(key => object[key]); }; Object.values = Object.values || objectToValuesPolyfill;