Skip to content

Commit 460329a

Browse files
authored
Add bigint
1 parent df573fc commit 460329a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • 1-js/02-first-steps/17-javascript-specials

1-js/02-first-steps/17-javascript-specials/article.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ let x = 5;
8181
x = "John";
8282
```
8383

84-
7 种数据类型:
84+
8 种数据类型:
8585

8686
- `number` — 可以是浮点数,也可以是整数,
87+
- `bigint` — 用于任意长度的整数,
8788
- `string` — 字符串类型,
8889
- `boolean` — 逻辑值:`true/false`
8990
- `null` — 具有单个值 `null` 的类型,表示“空”或“不存在”,

0 commit comments

Comments
 (0)