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