📜  原始(不可变)数据类型: - 无论代码示例

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

代码示例1
JavaScript recognizes six primitive (immutable) data types: 
Boolean, Null, Undefined, Number, String, and Symbol (new with ES6) and 
one type for mutable items: Object. Note that in JavaScript, arrays are 
technically a type of object.