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 5957240 commit 06435e4Copy full SHA for 06435e4
1 file changed
Sprint-1/1-key-exercises/3-paths.js
@@ -21,7 +21,7 @@ const lastDotIndex = filePath.lastIndexOf(".");
21
const firstSlashIndex = filePath.indexOf("/");
22
const dir = filePath.slice(firstSlashIndex, lastSlashIndex);
23
const ext = filePath.slice(lastDotIndex);
24
-console.log("The directory is: ${ext}");
25
-console.log(dir);
+console.log(`The directory is ${dir}`);
+console.log(`The ext is ${ext}`);
26
27
// https://www.google.com/search?q=slice+mdn
0 commit comments