js_sys::Math
pub fn exp(x: f64) -> f64
The Math.exp() function returns e^x, where x is the argument, and e is Euler's number (also known as Napier's constant), the base of the natural logarithms.
MDN documentation