DEV Community

Discussion on: Prevent an object's properties value from updating

Collapse
 
lowlighter profile image
lowlighter πŸ¦‘

One may look also at Object.seal and Object.freeze, to respectively prevent an object from being extended with new properties or to be modified in any way

Collapse
 
ml318097 profile image
Mehul Lakhanpal

Yes, but there is a small difference between all of them. Have a post coming up..