Math.atan() method returns the arc-tangent (in radians) of a number as a value between -PI/2 and PI/2 radians.
|x||Required||Specifies a number.|
|Number||The arc-tangent of the given number.|
The return value will be between -π / 2 to π / 2.
The return value is represented in radians.
|NaN||If the given value is empty.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.