JavaScript Math.cosh()
Przykład
Math.cosh(3)
Definicja i użycie
Metoda Math.cosh() zwraca cosinus hiperboliczny liczby.
Obsługa przeglądarki
Math.cosh()
to funkcja ECMAScript6 (ES6).
ES6 (JavaScript 2015) jest obsługiwany we wszystkich nowoczesnych przeglądarkach:
Chrome | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes |
Math.cosh()
nie jest obsługiwany w programie Internet Explorer 11 (lub starszym).
Składnia
Math.cosh(x)
Parametry
Parameter | Description |
---|---|
x | Required. A number. |
Wartość zwrotu
Numer. |