Type Your Code Here

const object1 = { property1: 56 // Initializing an object with a property named 'property1' and assigning it a value of 56. }; const descriptor1 = Object.getOwnPropertyDescriptor(object1, 'property1'); // Retrieving the property descriptor of 'property1' from object1. console.log(descriptor1.writable); // Outputting whether the property is writable or not. console.log(descriptor1.value); // Outputting the value of the property.

Output: