array get only values of object javascript code example Example: js get all values of object Object.values(object1)