Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A job queue in two lines of JavaScript.
async function runTasks(tasks: Job[]) { for (let task of tasks) { try { await task() } catch (e) { } } }
async function runTasks(tasks: Job[]) { for (let task of tasks) { try { await task() } catch (e) { } } }