Function js_sys::Math::max

source ·
pub fn max(x: f64, y: f64) -> f64
Expand description

The Math.max() function returns the largest of two numbers.

MDN documentation