Well done!

You have completed Review creating variables with const!

Quiz Question 1 of 5

What happens when this code runs:

const taxRate = 8.5;
function calculateTax(cost, tax) {
  taxRate = tax;
  return (cost * taxRate) / 100;
}
console.log(calculateTax(100, 10));

Choose the correct answer below:

Skip Quiz Review Video