We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887fcdd commit 3cd21a7Copy full SHA for 3cd21a7
Sprint-1/1-key-exercises/3-paths.js
@@ -19,7 +19,7 @@ console.log(`The base part of ${filePath} is ${base}`);
19
// Get everthing before base
20
const dir = filePath.slice(0,lastSlashIndex);
21
22
-//Get everything after the last dot in the base
+//Get everything after the last dot in the base:
23
const lastDotIndex = base.lastIndexOf(".");
24
const ext = base.slice(lastSlashIndex+1);
25
0 commit comments