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