console.log in Node
noun
say it: “KON-sohl dot LOG in NOHD” /ˈkɑnsoʊl dɑt ˈlɔɡ ɪn ˈnoʊd/
A function that prints values to the terminal while a Node program runs, the simplest way to see what the code is doing.
What does console.log in Node do?
In Node, console.log prints to the terminal, the simplest way to see what your code is doing.
In a sentence
- “The bakery script shows each price with console.log.”
- “In Node, console.log prints to the terminal, not to a browser's console.”
Level: Novice · More Node.js terms at this level
Updated