JavaScript Math.tanh()
JavaScript Math.tanh()
The Math.tanh() method is used to return the hyperbolic tangent of a number.
Syntax:-
Its syntax is:- Math.tanh(x)
Return:-
Its return is:- number
Further Explanation:-
Parameter | Description |
---|---|
x | Required. The number. |