From 75d2bc7ba8b6af2c1967bfb5311c6a8898293ab5 Mon Sep 17 00:00:00 2001 From: yurj26 <1816387074@qq.com> Date: Fri, 17 Feb 2023 11:58:45 +0800 Subject: [PATCH] docs: update syntax-uts.md --- docs/tutorial/syntax-uts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/syntax-uts.md b/docs/tutorial/syntax-uts.md index 44ed6c329..2bd9ba7fb 100644 --- a/docs/tutorial/syntax-uts.md +++ b/docs/tutorial/syntax-uts.md @@ -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,代表的各是正数、负数、零。 **平台差异说明** -- GitLab