You can use Object.freeze in JavaScript to avoid accidentally mutating ...

You can use Object.freeze in JavaScript to avoid accidentally mutating ...

More to explore