const object1 = {
property1: 42 // Initializing an object with a property named 'property1' and assigning it a value of 42.
};
const object2 = {
property2: 23 // Initializing another object with a property named 'property2' and assigning it a value of 23.
};
const descriptors1 = Object.getOwnPropertyDescriptors(object1); // Retrieving property descriptors of all properties of object1.
const descriptors2 = Object.getOwnPropertyDescriptors(object2); // Retrieving property descriptors of all properties of object2.
console.log(descriptors1.property1.writable); // Outputting whether the property1 of object1 is writable or not.
console.log(descriptors1.property1.value, descriptors2.property2.value); // Outputting the value of property1 of object1 and property2 of object2.