JavaScript Math.acosh()
Definition and Usage
The Math.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
Math.acosh()
is an ECMAScript1 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes | Yes |
Syntax
Math.acosh(x)
Parameter Values
Parameter | Description |
---|---|
x | Required. A number |
Return Value
A number. NaN if the parameter is less than 1. |