summaryrefslogtreecommitdiff
path: root/tests/console_table.ts
blob: 6ff391d99ad9ded8fedbbfdce2f85269a03421b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
console.table({ a: "test", b: 1 });
console.table({ a: { b: 10 }, b: { b: 20, c: 30 } }, ["c"]);
console.table([1, 2, [3, [4]], [5, 6], [[7], [8]]]);
console.table(new Set([1, 2, 3, "test"]));
console.table(new Map([[1, "one"], [2, "two"]]));
console.table({
  a: true,
  b: { c: { d: 10 }, e: [1, 2, [5, 6]] },
  f: "test",
  g: new Set([1, 2, 3, "test"]),
  h: new Map([[1, "one"]])
});
console.table([1, "test", false, { a: 10 }, ["test", { b: 20, c: "test" }]]);
console.table([]);
console.table({});
console.table(new Set());
console.table(new Map());
console.table("test");