JavaScript Console Object #18

sksage

Siddharth Kanojiya

Posted on July 2, 2023

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

💖 💪 🙅 🚩
sksage
Siddharth Kanojiya

Posted on July 2, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related