JavaScript Math.atan()
JavaScript Math.atan()
The Math.atan() method is used to return the arctangent of a number. Its value is between -PI/2 and PI/2 radians.
Syntax:-
Its syntax is:- Math.atan(x)
Return:-
Its return is:- number between PI/2 to -PI/2
Further Explanation:-
Parameter | Description |
x | Required. A number. |