Node.js console.clear() Method
The console.clear() method is used to clear the stdout, when stdout is a TTY (Teletype) i.e. terminal it will attempt to clear the TTY. When stdout is not a TTY, this method does nothing....
read more
Node.js console.time() Method
The console.time() method is the console class of Node.js. It is used to starts a timer that is used to compute the time taken by a piece of code or function. The method console.timeEnd() is used to stop the timer and output the elapsed time in milliseconds to stdout. The timer can be accurate to the sub-millisecond....
read more
Node.js console.error() Function
The console.error() function from the console class of Node.js is used to display an error message on the console. It prints to stderr with a newline....
read more
Node.js console.timeStamp() Method
The console module provides a simple debugging console that is provided by web browsers which export two specific components:...
read more
Node.js console.table() Method
The console.table() method is an inbuilt application programming interface of the console module which is used to print the table constructed from it’s parameters into the console....
read more
Node.js console.count() Method
The console.count() method is an inbuilt application programming interface of the console module which is used to count label passed to it as a parameter, by maintaining an internal counter for that specific label....
read more
Node.js console.dir() Method
The console.dir() method is used to get the list of object properties of a specified object. These object properties also have child objects, from which you can inspect for further information....
read more
Node.js console.assert() Method
The console.assert() method is an inbuilt application programming interface of the console module which is used to assert value passed to it as a parameter, i.e. it checks whether the value is true or not, and prints an error message, if provided and failed to assert the value....
read more
Node.js console.debug() Method
The console.debug() method is an inbuilt application programming interface of the console module which is used to print messages to stdout in a newline. Similar to the console.log() method....
read more
Node.js console.trace() Method
The console.trace() method is an inbuilt application programming interface of the console module which is used to print stack trace messages to stderr in a newline. Similar to console.error() method....
read more
Node.js Console Complete Reference
Node.js console module is a global object that provides a simple debugging console similar to JavaScript to display different levels of the message. It is provided by web browsers....
read more
Node.js console.timeLog() Method
The console.timeLog() method is an inbuilt function in Nodejs that is used to display the time for each execution. This function is proved to be effective when used in a loop....
read more