JavaScript acosh() Method
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 |