Skip to content

Instantly share code, notes, and snippets.

// part 1
const lines = (await body.text())
.split("\n")
.map((l) => l.split(" | ")[1])
.filter((e) => e !== undefined);
console.log(lines);
// display parts => number
const dict = {
2: 1,