Example 1 — Basic Use
The smallest result is 1. The result is the same for x and -x.
console.log(Math.cosh(0)); // 1
console.log(Math.cosh(1)); // 1.5430806348152437
console.log(Math.cosh(-1)); // 1.5430806348152437
console.log(Math.cosh(10)); // 11013.232920103324 How It Works
- Zero.
Math.cosh(0)is1, the minimum. - Mirror.
Math.cosh(1)andMath.cosh(-1)are the same. - Grows fast. Even
10gives a big number.

