The Math.tan() function returns the tangent of a number.
tan()
Math.tan(x) // x is a number representing an angle in radians.
console.log(Math.tan(1)); // 1.5574077246549023