console.log()
A function that prints values to the developer console, the text panel in the browser's developer tools, or to the terminal when code runs in Node.js.
In more detail
Every course example reports its result with console.log. It accepts any number of values and prints them separated by spaces, so it is the quickest way to see what code is doing.
Related terms
- JavaScript — The programming language of web browsers, also widely used on servers through Node.js.
Taught in
- How Browsers Work: Navigation, DNS, TCP, TLS And Request Timing — Frontend Architecture & Web Platform
- Semantic HTML Elements: Landmarks And Structure — Frontend Architecture & Web Platform
- The Browser Event Loop: Call Stack, Microtasks And Macrotasks — Frontend Architecture & Web Platform