THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript acosh() Method

❮ JavaScript Math Object

Example

Return the hyperbolic arccosine of a number:

Math.acosh(2);
Try it Yourself »

Definition and Usage

The acosh() method returns the hyperbolic arccosine of a number.

Note: If the parameter x is less than 1, the method will return NaN.


Browser Support

Method
acosh() 38 12 25 8 25

Syntax

Math.acosh(x)

Parameter Values

Parameter Description
x Required. A number

Technical Details

Return Value: A Number, or NaN if the parameter is less than 1
JavaScript Version: ECMAScript 6

❮ JavaScript Math Object