Skip to main content
  • Console object has many methods , log is one of them
    • assert() -> used to assert a staement , returns undefined when true else error
    • clear() -> clears the console
    • log() -> outputs a message to the console
    • table() -> displays a tabular data , converts obj to table
    • warn() -> used for warnings
    • error() -> used for errors
    • info() -> for info
    • time(“some label”) -> starts time
    • timeEnd(“some label”) -> ends time
  • Following tab can be used to filter warnings , errros and logs
    • alt text