js object getter all attributes code example Example: js get all values of object Object.values(object1)