Object.isFrozen() method is used to determine if an object is frozen or not.An object is frozen if all of the below conditions hold true,
const object = { property: "Welcome JS world", }; Object.freeze(object); console.log(Object.isFrozen(object));