File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
JavaScript 的类型分为两种:原始数据类型([ Primitive data types] [ ] )和对象类型(Object types)。
4
4
5
- 原始数据类型包括:布尔值、数值、字符串、` null ` 、` undefined ` 以及 [ ES6 中的新类型 ` Symbol ` ] [ ] 。
5
+ 原始数据类型包括:布尔值、数值、字符串、` null ` 、` undefined ` 以及 ES6 中的新类型 [ ` Symbol ` ] [ ] 和 [ ` BigInt ` ] [ ] 。
6
6
7
7
本节主要介绍** 前五种** 原始数据类型在 TypeScript 中的应用。
8
8
@@ -150,6 +150,7 @@ let num: number = u;
150
150
- [ ES6 中的模板字符串] [ ]
151
151
152
152
[ Primitive data types ] : https://developer.mozilla.org/en-US/docs/Glossary/Primitive
153
- [ ES6 中的新类型 `Symbol` ] : http://es6.ruanyifeng.com/#docs/symbol
153
+ [ `Symbol` ] : http://es6.ruanyifeng.com/#docs/symbol
154
+ [ `BigInt` ] : https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt
154
155
[ ES6 中的二进制和八进制表示法 ] : http://es6.ruanyifeng.com/#docs/number#二进制和八进制表示法
155
156
[ ES6 中的模板字符串 ] : http://es6.ruanyifeng.com/#docs/string#模板字符串
You can’t perform that action at this time.
0 commit comments