Javascript Tan() Function

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

Javascript Tan() Function Example