how to write exponent in js code example
Example 1: exponent of two numbers in javascript
math.pow(base, exponent)
Example 2: exponent javascript
Math.pow(base, exposant);
// if (math.pow(4,3)
//do (4*4*4)
//output:64
math.pow(base, exponent)
Math.pow(base, exposant);
// if (math.pow(4,3)
//do (4*4*4)
//output:64