QP School

Full Version: JavaScript - Exponentiations with variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
let a = 3;
let b = 3;
let c = a ** b;

document.getElementById("demo").innerHTML = c;