pub fn max(x: f64, y: f64) -> f64 ⓘ
dep_js_sys
The Math.max() function returns the largest of two numbers.
Math.max()
MDN documentation