Type Your Code Her

const obj = {}; // Creates an empty object named obj Object.defineProperties(obj, { // Defines properties on obj property1: { // Defines property1 value: 142, // Assigns value 142 to property1 value: 422, // Overwrites previous value with 422 (only the last value assignment will be considered) value: 423, // Overwrites previous value with 423 (only the last value assignment will be considered) }, property2: { // Defines property2 value: 22, // Assigns value 22 to property2 value: 12, // Overwrites previous value with 12 (only the last value assignment will be considered) } }); console.log(obj.property1, obj.property2); // Logs the values of property1 and property2 to the console

Output: