diff --git a/docs/tutorial/syntax-uts.md b/docs/tutorial/syntax-uts.md index 44ed6c329d82f8b9f87621a1b9060d0c68ed58ac..2bd9ba7fbe000d65635e5a128374ddd1f82ea7b4 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,代表的各是正数、负数、零。 **平台差异说明**