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