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