JavaScript Math.tan()
JavaScript Math.tan()
The Math.tan() method is used to return the tangent of a number.
Syntax:-
Its syntax is:- Math.tan(x)
Return:-
Its return is:- number which represents the tangent of a number
Further Explanation:-
Parameter | Description |
---|---|
x | Required. The number in radian in order to find tangent. |