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