Write Your JavaScript Code Here

const object1 = {}; // Creates an empty object named object1 Object.defineProperties(object1, { // Defines properties on object1 property1:{ // Defines property1 value: 44, // Assigns value 44 to property1 } }); console.log(object1.property1); // Logs the value of property1 to the console

Output: