Console
console.log prints. console.error for errors (stderr). console.table for a small array of objects. In production, a logger (pino/winston) is better than log in a hot loop.
Trap — console.log(hugeObject) in a request handler thousands of times.
Exam tip
console.log('marks', marks);