What value is obtained when executing the following code?
function calculateTotal(price, tax = 0.21) {
return price + price * tax;
}
console.log(calculateTotal(100));
What value is obtained when executing the following code?
function calculateTotal(price, tax = 0.21) {
return price + price * tax;
}
console.log(calculateTotal(100));