deno.com
method Console.table
#Console.table(
tabularData?: any,
properties?: string[],
): void

Displays tabular data as a table

Examples #

#

Example 1

console.table([
  { name: 'John', age: 30 },
  { name: 'Jane', age: 25 }
]);

Parameters #

optional
#tabularData: any

Data to be displayed in table format

optional
#properties: string[]

Array of property names to be displayed

Return Type #

void