The console.table() method displays complex arrays and objects in tabular format. Using this strategy, we can also swiftly sort columns.
The console.trace() method is identical to the console.log() method, with the exception that it offers a stack trace in addition to a printing message. The console.trace() function will return a complete stack trace of the functions, including the files from which they are called.
The method console.error() prints an error message to the console.
The console.count() method keeps track of how many times count() has been called. The count() method takes one argument, although it is optional; the default value is "default."
To clear the console, use this procedure.