Math.cosh

Returns the hyperbolic cosine of a number.

Syntax

cosh(value)

Parameters

Return value

The hyperbolic cosine of the value.

Examples

Math.cosh(0)
1