for (let [key, value] of Object.entries(object1)) doesnt print all fields code example Example: js get all values of object Object.values(object1)