Skip to content

Commit 401518d

Browse files
authored
Update 3-paths.js
1 parent 0767a42 commit 401518d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

23-
console.log(`The dir part of ${filePath} is ${dir}`);
24-
console.log(`The ext part of ${filePath} is ${ext}`);
23+
24+
2525

2626
// https://www.google.com/search?q=slice+mdn

0 commit comments

Comments
 (0)