get values object javascript code example Example 1: javascript get values from object Object.values(data) Example 2: js get all values of object Object.values(object1)