AdventOfCode/JS/template/solution_b.mjs
Tobias Berger e0fff4b4d5
Update Template
Signed-off-by: Tobias Berger <tobi.berger13@gmail.com>
2022-12-01 13:26:34 +01:00

17 lines
342 B
JavaScript

import fs from "fs";
/**
* Main function for Part 2
*
* @param {string} data - Puzzle input as a single string.
*/
async function main(data) {
return;
}
fs.readFile("input", (err, data) => {
console.time("Part 2")
if (err) throw err;
main(data.toString()).then(console.log).catch(console.error);
console.timeEnd("Part 2")
});