console.count() will count the number of times this statement will be called with the label that is been passed. console.clear() is used to clear the console. The error message will be highlighted with a red color by default. Console.table() allows us to generate a table inside a console. Whenever we want to know the amount of time spent on a specific block of code, we can use the time() and time() methods.
6 Comments
Sort: