0% found this document useful (0 votes)
16 views

JavaScript Debugging Tips

This book guides you how to debug JavaScript code when you stuck

Uploaded by

Md Nisu Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

JavaScript Debugging Tips

This book guides you how to debug JavaScript code when you stuck

Uploaded by

Md Nisu Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Say NO to

Console.
Log()
Skip console.log() - Level Up
Your Debugging
Console.dir()
`console.dir()` displays an object’s
properties in an interactive, tree-like
format in the console.

Example
Console.table()
`console.table()` displays tabular data
in a table format in the console.

Example
Console.group()
console.group() creates a new group
in the console for nested log
messages, which can be expanded or
collapsed.
Example
Console.time &
Console.timeEnd()
console.time() starts a timer with a
specified label, and console.timeEnd()
stops the timer and logs the elapsed
time.
Example
Console.clear()
`console.clear()` clears all messages
from the console.

Example
Muhammad Ishaq

Follow to get
more
Information
and tips like
this.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy