The Object.isSealed() method is used to determine if an object is sealed or not. An object is sealed if all of the below conditions hold true
const object = { property: "Hello, Good morning", }; Object.seal(object); // Using seal() method to seal the object console.log(Object.isSealed(object)); // checking whether the object is sealed or not