What value is obtained by executing the following code?
function power(base, exponent = 2) {
return base ** exponent;
}
console.log(power(2));
What value is obtained by executing the following code?
function power(base, exponent = 2) {
return base ** exponent;
}
console.log(power(2));