Skip to content

Commit e9e592e

Browse files
authored
revert changes
1 parent 54f45d7 commit e9e592e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ console.log(`The base part of ${filePath} is ${base}`);
1616

1717
// Create a variable to store the dir part of the filePath variable
1818
// Create a variable to store the ext part of the variable
19-
const dir = filePath.slice(0, lastSlashIndex);
20-
console.log(`The direction of the file is ${dir}`);
21-
const ext = filePath.slice(filePath.lastIndexOf(".") + 1);
22-
console.log(`The extenction of the file is ${ext}`);
19+
20+
const dir = ;
21+
const ext = ;
2322

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

0 commit comments

Comments
 (0)