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