table

The table JS console tries to construct a table with the columns of the properties of tabularData (or use properties) and rows of tabularData and log it with a logLevel of "log" and falls back to just logging the argument if it can’t be parsed as tabular.

Syntax

table(tabularData, properties)

Parameters

tabularData

The data to include in the table.

properties

The columns to include in the log.

Examples

1 · void

2 · tabularData

3 · properties

assert

clear

count

countReset

debug

dir

dirxml

error

group

groupCollapsed

groupEnd

info

log

time

timeEnd

timeLog

trace

warn

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu