Math.asinh()Math.asinh() 静态方法返回数字的反双曲正弦值。那是, ¥The Math.asinh() static method returns the inverse hyperbolic sine of a number. That is, 𝙼𝚊𝚝𝚑.𝚊𝚜𝚒𝚗𝚑 ( 𝚡 ) = arsinh ( x ) = the unique y such that sinh ( y ) = x = ln ( x + x 2 + 1 ) \begin{aligned}\mathtt{\operatorname{Math.asinh}(x)} &= \operatorname{arsinh}(x) = \text{the unique } y \text{ such that } \sinh(y) = x \&= \ln\left(x + \sqrt{x^2 + 1}\right)\end{aligned} Try it 语法¥Syntax jsMath.asinh(x) 参数¥Parameters x 一个号码。 返回值¥Return value x 的反双曲正弦。 ¥The inverse hyperbolic sine of x. 描述¥Description 因为 asinh() 是 Math 的静态方法,所以你始终将其用作 Math.asinh(),而不是用作你创建的 Math 对象的方法(Math 不是构造函数)。 ¥Because asinh() is a static method of Math, you always use it as Math.asinh(), rather than as a method of a Math object you created (Math is not a constructor). 示例¥Examples 使用 Math.asinh()¥Using Math.asinh() jsMath.asinh(-Infinity); // -Infinity Math.asinh(-1); // -0.881373587019543 Math.asinh(-0); // -0 Math.asinh(0); // 0 Math.asinh(1); // 0.881373587019543 Math.asinh(Infinity); // Infinity 规范SpecificationECMAScript Language Specification # sec-math.asinh¥Specifications 浏览器兼容性BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.¥Browser compatibility 也可以看看¥See also core-js 中 Math.asinh 的 Polyfill Math.acosh() Math.atanh() Math.cosh() Math.sinh() Math.tanh()