Example 1 — Example
Typical call.
JavaScript
console.group("user");
console.log("Ada");
console.groupEnd();How It Works
- Run the snippet.
- Read the printed output.
console.group() opens a nested group for related log lines.
console.group("user");
console.log("Ada");
console.groupEnd();Typical call.
console.group("user");
console.log("Ada");
console.groupEnd();CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
6 people found this page helpful