📜  可变对象 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:02.253000             🧑  作者: Mango

代码示例1
Mutable is a type of variable that can be changed. 
In JavaScript, only Objects and Arrays(technically a type of object) are 
mutable, not primitive(immutable) values.

Immutables are the objects whose state cannot be changed once the object is 
created. Boolean, Null, Undefined, Number, String, and Symbols are immutable.