Javascript Math tan()

Introduction

The Math.tan() function returns the tangent of a number.

Math.tan(x) // x is a  number representing an angle in radians.
console.log(Math.tan(1)); // 1.5574077246549023



PreviousNext

Related