aoc-2021/07_day/code.js

18 lines
233 B
JavaScript
Raw Normal View History

2021-12-07 07:36:03 +00:00
const readline = require('readline')
const rl = readline.createInterface({
input: process.stdin,
terminal: false
})
lines = []
rl.on('line', (line) => {
lines.push(line)
})
rl.on('close', () => {
console.log(lines)
})