Skip to content

Commit 6febd5d

Browse files
committed
e<sub>x<sub> to e<sup>x<sup>
1 parent 5d673d9 commit 6febd5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ ES6新增了4个对数相关方法。
512512

513513
**(1) Math.expm1()**
514514

515-
`Math.expm1(x)`返回e<sub>x</sub> - 1,即`Math.exp(x) - 1`
515+
`Math.expm1(x)`返回e<sup>x</sup> - 1,即`Math.exp(x) - 1`
516516

517517
```javascript
518518
Math.expm1(-1); // -0.6321205588285577

0 commit comments

Comments
 (0)