提交 75d2bc7b 编写于 作者: Y yurj26

docs: update syntax-uts.md

上级 366f702b
......@@ -2308,7 +2308,7 @@ console.log(Math.asin(0.5));
// expected output: 0.5235987755982989
console.log(Math.asin(1));
// expected output: 1.570796326794897
// expected output: 1.5707963267948966
```
#### asinh
......@@ -2535,7 +2535,7 @@ Math.expm1() 函数返回 E^x - 1, 其中 x 是该函数的参数,E 是自然
```ts
console.log(Math.expm1(1));
// expected output: 1.7182818284590453
// expected output: 1.718281828459045
console.log(Math.expm1(-38));
// expected output: -1
......@@ -2808,7 +2808,7 @@ console.log(Math.random(-20.51));
#### sign
Math.sign() 函数返回一个数字的符号,指示数字是正数,负数还是零。
Math.sign() 函数返回一个数字的符号,分别是 1、-1、0,代表的各是正数、负数、零。
**平台差异说明**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册