Object.values()
received following error:
TypeError: Object.values is not a function.
From this question on stackoverflow - I see that Object.values()
is not supported in all browsers.
But I am using the function in Node.js on server side - How can I use Object.values()
in Node.js it seems so intuitive like Object.keys()
?