Let’s explore JS consoling

debugging js


use of console.assert() method
use of the console.assert() method


use of the console.clear() method



use of the console.resetCount() method


without enabling debug option
after enabling debug option


use of the console.dir() method


use of the console.dirxml() method


use of the console.error() method

console.group, console.groupEnd() & console.groupCollapsed()

calling the console.group(), console.groupEnd() method with a name
calling the console.group() method without a name
collapsed log using console.groupCollapsed() method
after clicking the collapsed icon


use of the console.info() method


use of the console.log() method


use of the console.table() method
printing a particular column(s)
use of the .time(), .timeEnd() and .timeLog() method


use of the console.trace() method


use of the console.warn() method




A software engineer from Bangladesh.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Some important features of JavaScript

Bridging the gap between design and code (and learn three.js in less than 4 days)

Inside PixiJS: The ultimate scene graph optimization

day 3 of my #1000daysofcoding

Creating a ASP.NET Core Web API in .NET 6 with NUXT 3 (Template)

How to render likes on a page

Flutter for React Native Developers |1| by Stefan Majiros

Why Typescript?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mehedi Hassan Sunny

Mehedi Hassan Sunny

A software engineer from Bangladesh.

More from Medium

My TypeScript journey

SE3050 -Application Frameworks Blog — 05

What, why, when of redux

Deploy NodeJS and ReactJS production code on Windows server