JavaScript Math.acosh()
Definition and Usage
The Math.acosh()
method returns the hyperbolic arc-cosine of a number.
If the parameter is less than 1, the method returns NaN.
JavaScript Sine and Cosine Methods:
The Math.sin() MethodThe Math.sinh() Method
The Math.asin() Method
The Math.asinh() Method
The Math.cos() Method
The Math.cosh() Method
The Math.acos() Method
The Math.acosh() Method
Syntax
Math.acosh(x)
Parameters
Parameter | Description |
x | Required. A number. |
Return Value
Type | Description |
Number | The hyperbolic arc-cosine of the parameter.NaN if the parameter is less than 1 or not numeric. |
Browser Support
Math.acosh()
is an ECMAScript1 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | Yes |