Math.atan2() method returns the angle in the plane between the positive x-axis and the ray from (0, 0) to the point (x, y), for Math.atan2(y, x).
|y||Required||The y coordinate of the point.|
|x||Required||The x coordinate of the point.|
|Number||The arc-tangent of the quotient of its arguments.|
The return value will be between -π and π.
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.