JS 中基础数据类型有哪些
Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 515 (opens in a new tab)
Author 回答者: shfshanyue (opens in a new tab)
七种,文档见 基本数据类型 - MDN (opens in a new tab)
- number
- bigint: 这个常常会忽略,最新加入的
- string
- undefined
- null
- symbol
- bool
Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 515 (opens in a new tab)
Author 回答者: shfshanyue (opens in a new tab)
七种,文档见 基本数据类型 - MDN (opens in a new tab)