English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

JavaScript Math.cosh() Method

 JavaScript Math Object

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.

Syntax:

Math.cosh(x)
Math.cosh(1);
Test See‹/›

Browser Compatibility

The number in the table specifies the first browser version that fully supports the Math.cosh() method:

Method
Math.cosh()382525812

Parameter Value

ParameterDescription
xNumber

Technical Details

Return Value:Hyperbolic Cosine of Given Number
JavaScript Version:ECMAScript 6

 JavaScript Math Object