JavaScript ASINH

The JavaScript ASINH function is a Math function used to calculate the Trigonometry Hyperbolic Arc Sine for the specified expression or number. ASINH() function also called the inverse of hyperbolic SINE value. The syntax of the JavaScript ASINH Function is:

Math.asinh(number);

JavaScript ASINH Function Example

In this JavaScript example, we find the Hyperbolic Arc Sine values of different data types and display the output

<!DOCTYPE html>
<html>
<head>
    <title> JavaScript ASINH Function </title>
</head>
<body>
  <h1> JavaScript ASINH Function </h1>
  <p id = "Pos"></p>
  <p id = "Neg"></p>
  <p id = "Dec"></p>
  <p id = "Neg_Dec"></p>
  <p id = "Str"></p>
  <p id = "Exp"></p>
  <p id = "Null"></p>
  <p id = "Multi"></p>
  <script>
    document.getElementById("Pos").innerHTML = Math.asinh(10);
    document.getElementById("Neg").innerHTML = Math.asinh(-20);
    document.getElementById("Dec").innerHTML = Math.asinh(0.45);
    document.getElementById("Neg_Dec").innerHTML = Math.asinh(-0.75);
    document.getElementById("Str").innerHTML = Math.asinh("JavaScript");
    document.getElementById("Null").innerHTML = Math.asinh(null);
    document.getElementById("Multi").innerHTML = Math.asinh(0.25 + 0.55 - 0.77);
  </script>
</body>
</html>
JavaScript ASINH Function

String value in JS ASINH Math function returns NaN (Not a Number) as an output

document.getElementById("Str").innerHTML = Math.asinh("JavaScript");

ASINH Function on Null returns Zero as output

document.getElementById("Null").innerHTML = Math.asinh(null);