diff options
author | Julien Dessaux | 2022-12-31 17:04:04 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-12-31 17:33:31 +0100 |
commit | 7a7a788a11c0f6508837a32c4332545870eca653 (patch) | |
tree | 9935c154ae6ba2f10dc55fa95e919f5a1628ee67 /2022/20-Grove-Positioning-System | |
parent | 2022-20 in js (diff) | |
download | advent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.tar.gz advent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.tar.bz2 advent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.zip |
2022-21 part 1 in js
Diffstat (limited to '')
-rw-r--r-- | 2022/20-Grove-Positioning-System/first.js | 6 | ||||
-rw-r--r-- | 2022/20-Grove-Positioning-System/second.js | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/2022/20-Grove-Positioning-System/first.js b/2022/20-Grove-Positioning-System/first.js index 7a49d57..c2f351a 100644 --- a/2022/20-Grove-Positioning-System/first.js +++ b/2022/20-Grove-Positioning-System/first.js @@ -65,9 +65,9 @@ class File { function load(filename) { return new File( fs.readFileSync(filename, "utf8") - .trim() - .split("\n") - .map(line => parseInt(line)) + .trim() + .split("\n") + .map(line => parseInt(line)) ); } diff --git a/2022/20-Grove-Positioning-System/second.js b/2022/20-Grove-Positioning-System/second.js index a01acc4..92185e0 100644 --- a/2022/20-Grove-Positioning-System/second.js +++ b/2022/20-Grove-Positioning-System/second.js @@ -65,9 +65,9 @@ class File { function load(filename) { return new File( fs.readFileSync(filename, "utf8") - .trim() - .split("\n") - .map(line => parseInt(line)) + .trim() + .split("\n") + .map(line => parseInt(line)) ); } |