Node.js - Debugging and Profiling
You want to display an array of user objects as a neat table in the console. Which console method should you use to achieve this?
console.table() displays arrays or objects as formatted tables, making data easier to read.console.group() groups logs, console.dir() shows object details, and console.log() prints raw data without table formatting.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions