convert
JS 有 7 种基本类型,分别如下:
String
Number
Boolean
Null
Undefined
Object
Symbol (ES6)
- null 是故意缺少一个值。null 通常被赋值给一个变量,用来表示变量过后会被赋予值。
- 然后是 undefined,表示是一个变量没有任何附加项
typeof undefined
// "undefined"
typeof null
// "object"
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| n | Next page |
| p | Previous page |
| s | Search |