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() is also called the inverse of hyperbolic SINE value, and the syntax of this Function is:


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>
    <title> JavaScriptASINHFunction </title>
  <h1> JavaScriptASINHFunction </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>
    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);
JavaScript ASINH Example

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

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

Using this method on Null returns Zero as output

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