Debugging: understanding the difference between FCC & browser console

Hi
I thought this was pretty straight forward but i guess not. i have tried several changes but i must be missing something.
my code:

// Open your browser console
let outputTwo = "This will print to the browser console 2 times";
// Use console.log() to print the outputTwo variable

console.log(outputTwo);
let outputOne = "Try to get this to log only once to the browser console";
// Use console.clear() in the next line to print the outputOne only once
console.clear(outputOne);

// Use console.log() to print the outputOne variable
console.log(outputOne);

running test returns: Use console.clear() to modify your output so that outputOne variable only outputs once.

2 Likes

Thanks,
i knew it was something simple. must need more cofee

Never? Or just in this case?

Oh sorry , I was referring at the console.clear(), you said it does not take an argument.

Thank you for the quick answer.