JavaScript object immutability: Object.freeze vs. Object.seal - LogRocket Blog
Briefly

When working with values and objects in JavaScript, you may sometimes need to restrict what can be done with them to prevent changes to application-wide configuration objects, state objects, or global constants.
Read at LogRocket Blog
[
add
]
[
|
|
]