tanbeginner// Tangent of an angle in radians
Math.tan(0) // β 0
Math.tan(Math.PI / 4) // β 1Use Math.tan() to compute the tangent of an angle in radians for trigonometry and slope calculations.
Returns the tangent of a number (in radians).
Challenge: Verify that Math.tan(0) returns 0.