Skip to content

Commit 9864337

Browse files
committed
change colon to semicolon
1 parent 9c79a73 commit 9864337

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
@@ -16,7 +16,7 @@ console.log(`The base part of ${filePath} is ${base}`);
1616

1717

1818

19-
const startDirIndex = filePath.lastIndexOf("Users"):
19+
const startDirIndex = filePath.lastIndexOf("Users");
2020
const dir = filePath.slice(startDirIndex , lastSlashIndex);
2121
console.log(`The dir part of ${filePath} is ${dir}`);
2222
const dotIndex = filePath.lastIndexOf(".");

0 commit comments

Comments
 (0)