til-jasontorres by Jason Torres

Console.log alternatives

console.error() - displaying errors for better developer experience.

console.time() together with console.timeEnd() - Shows the amount of time a code within the block has been executed.

console.count() - Shows the number of times a function, object or any value has been executed!

console.table(object) - for displaying table like data.

Posted: 28/10/2020