javascript list of the object's values code example Example 1: object to array javascript Object.values(obj) Example 2: js get all values of object Object.values(object1)