Tell us what’s happening:
How to satisfy this statement:
Use console.clear()
to modify your output so that outputOne
variable only outputs once.
Your code so far
let outputTwo = "This will print to the browser console 2 times";
console.log(outputTwo);
let outputOne = "Try to get this to log only once to the browser console";
console.clear(outputOne); // i already used here but not working
console.log(outputOne);
// Use console.log() to print the outputOne variable