Tell us what’s happening:
Describe your issue in detail here.
I have followed the course exactly but in my browser I keep getting the same error message:
Uncaught SyntaxError: redeclaration of let output
debugger eval code:1
Clicking the code link sends me to: SyntaxError: redeclaration of formal parameter "x" - JavaScript | MDN
and is explaining that I’ve assigned output a second time. I’m stumped and have even tried excluding the let output = in the browser since it’s already in the FCC browser.
Your code so far
let output = “Get this to show once in the freeCodeCamp console and not at all in the browser console”;
console.log(output);
console.clear();
let output = "Get this to show once in the freeCodeCamp console and not at all in the browser console";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Challenge: Debugging - Understanding the Differences between the freeCodeCamp and Browser Console
Link to the challenge: