js_sys::Math
pub fn tan(x: f64) -> f64
The Math.tan() function returns the tangent of a number.
Math.tan()
MDN documentation