pub fn expm1(x: f64) -> f64
The Math.expm1() function returns e^x - 1, where x is the argument, and e the base of the natural logarithms.
Math.expm1()
MDN documentation