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