how to use exponenents in js code example Example: exponent of two numbers in javascript math.pow(base, exponent)