DEV Community

Siddharth Kanojiya
Siddharth Kanojiya

Posted on

1

JavaScript Console Object #18

// console object method
// the console.log has servel method log being are as follow :
asserts() --> // used to asserts
clear() --> // clear the console
log() ----> // output the message to the console
table()---> // display the tabular data
obj = {a:1, b:2, c:3, d:4}
console.table(obj)
warn()---> // used for warning
error()---> // used for error
info()----> // used for special information

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay