Function js_sys::Math::pow

source ยท
pub fn pow(base: f64, exponent: f64) -> f64
Expand description

The Math.pow() function returns the base to the exponent power, that is, base^exponent.

MDN documentation