English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Math.cosh()The method returns the hyperbolic cosine of a number.
Since cosh() is a static method of Math, you always use it asMath.cosh(),not used as a method of the created Math object.
Math.cosh(x)
Math.cosh(1);Test See‹/›
The number in the table specifies the first browser version that fully supports the Math.cosh() method:
Method | |||||
Math.cosh() | 38 | 25 | 25 | 8 | 12 |
Parameter | Description |
---|---|
x | Number |
Return Value: | Hyperbolic Cosine of Given Number |
---|---|
JavaScript Version: | ECMAScript 6 |