js_sys::Math

Function sin

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

The Math.sin() function returns the sine of a number.

MDN documentation