Let’s explore JS consoling

debugging js

console.assert()

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

console.clear()

use of the console.clear() method

console.count()

console.countReset()

use of the console.resetCount() method

console.debug()

without enabling debug option
after enabling debug option

console.dir()

use of the console.dir() method

console.dirxml()

use of the console.dirxml() method

console.error()

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

console.info()

use of the console.info() method

console.log()

use of the console.log() method

console.table()

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

console.trace()

use of the console.trace() method

console.warn()

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