1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

docs(number): fix #965

This commit is contained in:
ruanyf 2020-03-23 19:57:55 +08:00
parent f330662c0e
commit f71a2cefea

View File

@ -686,18 +686,6 @@ b **= 3;
// 等同于 b = b * b * b;
```
注意V8 引擎的指数运算符与`Math.pow`的实现不相同,对于特别大的运算结果,两者会有细微的差异。
```javascript
Math.pow(99, 99)
// 3.697296376497263e+197
99 ** 99
// 3.697296376497268e+197
```
上面代码中,两个运算结果的最后一位有效数字是有差异的。
## BigInt 数据类型
### 简介