diff options
Diffstat (limited to '2022/20-Grove-Positioning-System')
-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)) ); } |