JavaScript tanh() Method
Definition and Usage
The tanh() method returns a number that represents the hyperbolic tangent of a number.
Browser Support
Method | |||||
---|---|---|---|---|---|
tanh() | 38 | 12 | 25 | 8 | 25 |
Syntax
Math.tanh(x)
Parameter Values
Parameter | Description |
---|---|
x | Required. A number |
Technical Details
Return Value: | A Number |
---|---|
JavaScript Version: | ECMAScript 6 |
❮ JavaScript Math Object