javascript object seal freeze code example
Example: javascript object freeze
const object = {
name = "John",
};
object = "Test"; // Doesn't work, constant makes it so you can't reasign it
object.name = "Doo"; // This works
Object.freeze(object)
object.name = "Foo"; // No longer works