Object.isSealedintermediate// Check if an object is sealed
const obj = { a: 1 }
Object.isSealed(obj) // β false
Object.seal(obj)
Object.isSealed(obj) // β trueUse Object.isSealed() to check whether an object's properties cannot be added or removed (though values may still change).
An empty object that has been made non-extensible (via Object.preventExtensions) is considered sealed, because there are no configurable properties to violate the sealed constraint.
Challenge: Verify this edge case with Object.isSealed().