remove unused

This commit is contained in:
Baipyrus 2023-12-08 09:25:00 +01:00
parent f3503eb183
commit ee4aabf3a0
3 changed files with 0 additions and 6 deletions

View File

@ -13,7 +13,6 @@ const numbers = lines.map((a) =>
); );
const combinations = numbers.map((e) => parseInt(e[0] + e[e.length - 1])); const combinations = numbers.map((e) => parseInt(e[0] + e[e.length - 1]));
const sum = combinations.reduce((a, i) => a + i); const sum = combinations.reduce((a, i) => a + i);
console.log(combinations);
console.log(sum); console.log(sum);
const t1 = performance.now(); const t1 = performance.now();

View File

@ -41,7 +41,6 @@ const numbers = lines.map((a) => {
return parseInt(after[0][0] + after[i][0]); return parseInt(after[0][0] + after[i][0]);
}); });
const sum = numbers.reduce((a, i) => a + i); const sum = numbers.reduce((a, i) => a + i);
console.log(JSON.stringify(numbers));
console.log(sum); console.log(sum);
const t1 = performance.now(); const t1 = performance.now();

View File

@ -2,10 +2,6 @@
"name": "aoc23", "name": "aoc23",
"version": "1.0.0", "version": "1.0.0",
"description": "Advent of Code", "description": "Advent of Code",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Baipyrus", "author": "Baipyrus",
"license": "ISC", "license": "ISC",
"type": "module" "type": "module"