js_sys::Math

Function tan

Source
pub fn tan(x: f64) -> f64
Expand description

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

MDN documentation