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