js_sys::Math

Function 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