New course! Every coder should learn Generative AI!
Try a free lesson0
How do I make a variable to the power of another variable?
Such as X to the power of Y?
2 Answers
+ 3
Math.pow (x,y);
+ 2
var i=20;
var example = Math.pow(i,2);
console.log(example);
like this?