console.table method

E242833

The console.table method is a JavaScript debugging utility that displays array or object data in a formatted table within the browser or Node.js console.

All labels observed (1)

Label Occurrences
console.table method canonical 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf JavaScript console method
debugging utility
acceptsArgument columns
data
argumentRole columns specifies which properties or columns to include
data is the value to be displayed
availableIn Chrome DevTools console
Edge DevTools console
Firefox Web Console
Node.js REPL
linked to: Node.js

Node.js runtime
linked to: Node.js

Safari Web Inspector console
belongsToObject console
category console debugging API
definedInLanguage JavaScript
displayBehavior renders each array element as a row
renders each object property as a column
uses index or key as first column by default
introducedIn Chrome 28
linked to: Google Chrome

Firefox 34
linked to: Mozilla Firefox

Node.js 10
invocationContext called as a method of console object
outputFormat formatted table
primaryPurpose display tabular data for debugging
providedByEnvironment Node.js
web browsers
relatedMethod console.debug
console.dir
console.log
returnValue undefined
sideEffect writes formatted table to console output
standardStatus documented in WHATWG Console Living Standard
linked to: JavaScript console
supportsFeature column selection
nested object inspection
sorting by clicking column headers in some consoles
typicalInput Array
Array-like object
Map
Object
Set
TypedArray
arguments object
typicalUseCase compare object properties visually
debug API responses containing lists
inspect arrays of objects
usageExample console.table([{name: 'Alice', age: 30}, {name: 'Bob', age: 25}])
console.table(users, ['name', 'age'])

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Console Standard standardizes console.table method