SyntaxFix
Write A Post
Hire A Developer
Questions
ECMA2017 onwards:
Object.values(obj) will fetch you all the property values as an array.
Object.values(obj)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/Object/values