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

A Plunge into the SteamVR Grabbing mechanic in Unity

Dependency Injection in Javascript with no Libraries

Drawing Attention to Climate Change With Interactive Generative Art

Getting Started with React And AWS Amplify

Design Patterns Part 4 : Builder Design Pattern

React Native or Flutter? A Brief Guide to Choose the Best Framework! — Part I

Understanding the event driven nature of Node.js

Redux and React context are not mutually exclusive

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

Getting started with Mongoose, a beginner’s perspective

JS, Git & NoSQL

Customizing a Drawer Element in a Quick App

Introduction to Application Development: Client Layer