Debugging Console

Tell us what’s happening:
Using Edge, I’ve used the: console.clear();
then used: console.log(output);
and it still prints twice in FCC console, and 4times in Edge browser console.
I just don’t see what I’m missing

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);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.62

Challenge: Understanding the Differences between the freeCodeCamp and Browser Console

Link to the challenge:

Nevermind didn’t realized I had to console.clear(); the FCC console as well… My bad.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.