DEV Community

Siddharth Kanojiya
Siddharth Kanojiya

Posted on

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)