N JavaScript, Math.exp() is a method that returns Euler's number (e ≈ 2.718) raised to the power of a given number.
javascript
Copy
Edit
Math.exp(number);
number: The exponent to which e is raised https://docs.vultr.com/javascript/standard-library/Math/exp