There was an error while loading. Please reload this page.
1 parent 49aa90d commit bf182f0Copy full SHA for bf182f0
1 file changed
Sprint-2/1-key-exercises/3-paths.js
@@ -18,7 +18,7 @@ console.log(`The base part of ${filePath} is ${base}`);
18
// Create a variable to store the ext part of the variable
19
20
const dir = filePath.slice(0, lastSlashIndex);
21
-console.log(`The dir parth of ${filePath} is ${dir}`);
+console.log(`The dir part of ${filePath} is ${dir}`);
22
23
const lastPeriodIndex = filePath.lastIndexOf(".");
24
const ext = filePath.slice(lastPeriodIndex);
0 commit comments