console.error() do in Node.js?console.error() prints error messages to the standard error stream. It is useful for showing problems separately from regular output.
console.warn() differ from console.log()?console.warn() outputs a warning message, often styled differently in consoles to catch attention, while console.log() outputs general information.
console.table()?console.table() displays data as a table in the console, making arrays or objects easier to read and compare visually.
console.group() and console.groupEnd().console.group() starts a new indented group in the console output to organize messages. console.groupEnd() closes the current group.
console.time() and console.timeEnd() do?They measure the time between the two calls with the same label, helping to check how long a piece of code takes to run.
console.warn() is designed to show warning messages.
console.table() do?console.table() formats arrays or objects into a readable table.
Use console.time() to start and console.timeEnd() to stop timing.
console.group() creates an indented group for related messages.
console.error() and console.log()?console.error() sends output to the error stream, useful for errors.
console.log() and explain when to use each.