# console.log()

*noun*

say it: **“KON-sohl LOG”** **/ˈkɒnsoʊl lɒɡ/**

The JavaScript method that prints a value to the console, for checking what code is doing.

## What does **console.log()** do in JavaScript?

**console.log()** — A method that writes a value to the runtime's development console.

```javascript
const status = "Ready";
console.log(status); // Ready
```

## In a sentence

- “I added **console.log**(total) to see what the total was.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/console-log
