First of all: you can hide all warnings and show only the output console.logif you use Microsoft Edge. There are a couple of icons in the console representing various levels of log output that you can use - error, warning, and information. If you just want to hide the warnings, you can simply turn off the warning icon.
, Firefox, , .
, , , ( ) :
Chrome ( Chrome). . (.. , ), , , . error.
, error. , .
, :
console.error('mymessage');
, , , . console.log .
console.error console.log , , console.error , .
, - , , , , . , , , . .
: , , , . , , , -, - . , , , , .
. , Chrome / . , , , .