I have some functions that, when executed, display some information using console.log ().
No problem with that.
But several times the console looks strange ... Because they sent me to clear the console by pressing "l" (letter "L" in lower case).
I took this as a simple task, I just needed to use console.clear (), and everything would be fine.
But ... I just thought:
console.clear();
In chrome, it works great.
The spell is here.
Does anyone know of any technique for this in firefox?
Thank you for your time.
user4227915
source
share