pub fn pow(base: f64, exponent: f64) -> f64 ⓘ
dep_web_sys
The Math.pow() function returns the base to the exponent power, that is, base^exponent.
Math.pow()
MDN documentation