JavaScript Tutorial JavaScript References

JavaScript - Math.asinh() Method



The JavaScript Math.asinh() method returns inverse hyperbolic sine of a value. The inverse hyperbolic sine of x is defined as:

asinh

Syntax

Math.asinh(x)

Parameters

x Specify the value.

Return Value

Returns the inverse hyperbolic sine of a value.

Example:

In the example below, Math.asinh() method is used to find out the inverse hyperbolic sine of a value.

var txt;

txt = "Math.asinh(0) = " + Math.asinh(0) + "<br>";
txt = txt + "Math.asinh(2) = " + Math.asinh(2) + "<br>";
txt = txt + "Math.asinh(4) = " + Math.asinh(4) + "<br>";

The output (value of txt) after running above script will be:

Math.asinh(0) = 0
Math.asinh(2) = 1.4436354751788103
Math.asinh(4) = 2.0947125472611012

❮ JavaScript - Math Object