JavaScript Console
Console methods for debugging — log, error, table, time, and more. This category documents 23 JavaScript console entries, and each page gives you the full syntax, the parameter list, the return value, a runnable example, time complexity, the TypeScript signature, and the mistakes developers most often make with that API. The entries are: console.log(), console.error(), console.warn(), console.info(), console.debug(), console.table(), console.group(), console.groupCollapsed(), console.groupEnd(), console.time(), console.timeEnd(), console.timeLog(), console.count(), console.countReset(), console.assert(), console.clear(), console.dir(), console.trace(), console.dirxml(), console.profile(), console.profileEnd(), console.memory, console.exception(). For a structured walkthrough of the whole topic, read the Console guide. Not sure which method you need? console.log() and console.error() are the most commonly used starting points in this category. You can also search across every category from the search page or browse the complete A–Z index.