Tell us what’s happening:
I followed the instructions, and I am still getting an error
Your code so far
let counter = 10;
console.log(`Counter is currently ${counter}`);
let updatedCounter = ( ++counter );
console.log(`Counter is now ${updatedCounter}`);
let score = 8;
console.log(`Score is currently ${score}`);
let finalScore = (score++);
console.log(`Score is still ${finalScore}`);
let coins = 3;
console.log(`Coins is currently ${coins}`);
let updatedCoins = (--coins);
console.log(`Coins is now ${updatedCoins}`);
let health = 7;
console.log(`Health is currently ${health}`);
let newHealth = (health--);
console.log(`Health is still ${newHealth}`);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Debug Increment and Decrement Operator Errors in a Buggy App - Debug Increment and Decrement Operator Errors in a Buggy App