Skip to content

Commit 92282ff

Browse files
committed
refactor exercise 3-paths
1 parent 0b7d189 commit 92282ff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sprint-1/1-key-exercises/3-paths.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,4 @@ console.log(`The base part of ${filePath} is ${base}`);
2020
const dir = filePath.slice(filePath.indexOf("/") + 1, lastSlashIndex);
2121
const ext = base.slice(base.lastIndexOf("."));
2222

23-
console.log(dir);
24-
console.log(ext);
25-
2623
// https://www.google.com/search?q=slice+mdn

0 commit comments

Comments
 (0)