get object properties value javascript code example Example: object to array javascript Object.values(obj)