FrontendDeveloper.in

JavaScript question detail

What are the differences between the freeze and seal methods

If an object is frozen using the Object.freeze() method then its properties become immutable and no changes can be made in them whereas if an object is sealed using the Object.seal() method then the changes can be made in the existing properties of the object.

Back to all JavaScript questions
Get LinkedIn Premium at Rs 399