в жс - объекты по дефолту могут мутировать термин мутация - относится к объектам, который изменяют свое состояние, но остаются по тойже ссылке. иммутабл объекты - объекты, которые не могут изменять своё состояние.
> In computer science, an object can be a variable, a data structure, a function, or a method, and as such, is a value in memory referenced by an identifier. Объект в википедии. > Mutation is a common side-effect in programming. To mutate a variable once it has been defined means to alter its value. Мутация https://en.wikibooks.org/wiki/Scheme_Programming/Mutability
> In computer science, an object can be a variable, a data structure, a function, or a method, and as such, is a value in memory referenced by an identifier. Объект в википедии. > Mutation is a common side-effect in programming. To mutate a variable once it has been defined means to alter its value. Мутация https://en.wikibooks.org/wiki/Scheme_Programming/Mutability