Arithmetic operators - Exponential
In the code below we calculate numOne to the power of numTwo with the Exponential operator
**
. Then, the console.log()
statement checks whether the result of this calculation equals 8. Change the code so that the console.log()
statement logs true
.Premium
JavaScript
Console