JavaScript acosh() method

Definition and usage

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

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

Example

Returns the hyperbolic arccosine of a number :

Math.acosh(2);

Try it yourself

Syntax

Math.acosh(x)

Parameter value

Parameter Description
x Required. Number.

Technical details

Return value : Number, if the parameter is less than 1, it returns NaN.
JavaScript version : ECMAScript 6

Support du navigateur

Math.acosh() C'est une caractéristique ES1 (JavaScript 1999). Tous les navigateurs le supportent complètement :

Chrome IE Edge Firefox Safari Opera
Support Support Support Support Support Support

Pages connexes

Tutoriel :Mathématiques JavaScript