From ee4aabf3a0ee750db6732f74c1145ea8ca04921b Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 8 Dec 2023 09:25:00 +0100 Subject: [PATCH] remove unused --- Day1/Part1.js | 1 - Day1/Part2.js | 1 - package.json | 4 ---- 3 files changed, 6 deletions(-) diff --git a/Day1/Part1.js b/Day1/Part1.js index fe4d2c6..311037f 100644 --- a/Day1/Part1.js +++ b/Day1/Part1.js @@ -13,7 +13,6 @@ const numbers = lines.map((a) => ); const combinations = numbers.map((e) => parseInt(e[0] + e[e.length - 1])); const sum = combinations.reduce((a, i) => a + i); -console.log(combinations); console.log(sum); const t1 = performance.now(); diff --git a/Day1/Part2.js b/Day1/Part2.js index 59f0d66..9ae0268 100644 --- a/Day1/Part2.js +++ b/Day1/Part2.js @@ -41,7 +41,6 @@ const numbers = lines.map((a) => { return parseInt(after[0][0] + after[i][0]); }); const sum = numbers.reduce((a, i) => a + i); -console.log(JSON.stringify(numbers)); console.log(sum); const t1 = performance.now(); diff --git a/package.json b/package.json index c53622c..7dcd670 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,6 @@ "name": "aoc23", "version": "1.0.0", "description": "Advent of Code", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, "author": "Baipyrus", "license": "ISC", "type": "module"