Skip to content

Commit bf182f0

Browse files
committed
Fixed parth typo on line 21 in 3-paths.js
1 parent 49aa90d commit bf182f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ console.log(`The base part of ${filePath} is ${base}`);
1818
// Create a variable to store the ext part of the variable
1919

2020
const dir = filePath.slice(0, lastSlashIndex);
21-
console.log(`The dir parth of ${filePath} is ${dir}`);
21+
console.log(`The dir part of ${filePath} is ${dir}`);
2222

2323
const lastPeriodIndex = filePath.lastIndexOf(".");
2424
const ext = filePath.slice(lastPeriodIndex);

0 commit comments

Comments
 (0)