Learn how to use JavaScript Exponentiation (**).
Read on how to do it here: https://www.w3schools.com/howto/howto_js_exponentiation.asp
Exponentiation Operator
The exponentiation operator (**
) raises the first operand to the power of the second operand.
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_exp
Read more about JavaScript Operators in our JavaScript Operator Tutorial.