The tan() method of math object returns the tangent of a given number. Use it for example to get tangent of a given number.
Syntax