Skip to content

Commit 59f3b63

Browse files
committed
Format with prettier
1 parent 68bac7f commit 59f3b63

File tree

1 file changed

+3
-3
lines changed
  • Sprint-2/1-key-errors

1 file changed

+3
-3
lines changed

Sprint-2/1-key-errors/0.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
console.log(capitalise("hello")); // Test the function
1717
// =============> write your new code here
1818
function capitalise(str) {
19-
let capitalised = `${str[0].toUpperCase()}${str.slice(1)}`;
20-
return capitalised;
21-
}
19+
let capitalised = `${str[0].toUpperCase()}${str.slice(1)}`;
20+
return capitalised;
21+
}

0 commit comments

Comments
 (0)