Home >>JavaScript Math Reference >JavaScript asinh() Method

JavaScript asinh() Method

JavaScript asinh() Method

JavaScript asinh() method is used to return the hyperbolic arcsine value of a given input number. Hyperbolic arcsine is the inverse of the hyperbolic sine function. 

Syntax:
Math.asinh(x)

Parameter Values

Parameter Description
x This is a required parameter. It defines the given input number.

Browser Support

Method Chrome Edge Firefox Safari Opera
asinh() 38 12 25 8 25
Here is an example of JavaScript asinh() method:
<html>
<body>
<p>Click the button to see the Output.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
  document.getElementById("demo").innerHTML = Math.asinh(1);
}
</script>
</body>
</html>
Output:

Click the button to see the Output.

Example 2:
<html>
<body>
<p>Click the button to see the Output.</p>
<button onclick="myFunction1()">Try it</button>
<p id="demo1"></p>
<script>
function myFunction1() {
  document.getElementById("demo1").innerHTML = Math.asinh(3.14);
}
</script>
</body>
</html>
Output:

Click the button to see the Output.


No Sidebar ads