Thursday, February 26, 2026

JS Web API: console.table()

 console: table() static method - Web APIs | MDN

The console.table() static method displays tabular data as a table.

console.table(data) console.table(data, columns)

The data to display. This must be either an array or an object. Each item in the array, or property in the object, is represented by a row in the table. The first column in the table is labeled (index) and its values are the array indices or the property names.

If the elements in the array, or properties in the object, are themselves arrays or objects, then their items or properties are enumerated in the row, one per column.

Note that in Firefox, console.table() is limited to displaying 1000 rows, including the heading row.

// an object whose properties are objects

const family = {};

family.mother = new Person("Janet", "Jones");
family.father = new Person("Tyrone", "Jones");
family.daughter = new Person("Maria", "Jones");

console.table(family);

(index)firstNamelastName
daughter'Maria''Jones'
father'Tyrone''Jones'
mother'Janet''Jones'




Languages => Web Assembly (WASM)

appcypher/awesome-wasm-langs: 😎 A curated list of languages that compile directly to or have their VMs in WebAssembly @GitHub

WebAssembly, or wasm for short, is a low-level bytecode format that runs in the browser just like JavaScript. It is designed to be faster to parse than JavaScript, as well as faster to execute which makes it a suitable compilation target for new and existing languages.

This repo contains a list of languages that currently compile to or have their VMs in WebAssembly(wasm)

Awesome WebAssembly Languages Awesome

WebAssembly, or wasm for short, is a low-level bytecode format that runs in the browser just like JavaScript. It is designed to be faster to parse than JavaScript, as well as faster to execute which makes it a suitable compilation target for new and existing languages.

This repo contains a list of languages that currently compile to or have their VMs in WebAssembly(wasm) :octocat:

Contents




(login required, free)

it is more efficient, and it is standard, can run anywhere, that is why