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 68bac7f commit 59f3b63Copy full SHA for 59f3b63
Sprint-2/1-key-errors/0.js
@@ -16,6 +16,6 @@
16
console.log(capitalise("hello")); // Test the function
17
// =============> write your new code here
18
function capitalise(str) {
19
-let capitalised = `${str[0].toUpperCase()}${str.slice(1)}`;
20
-return capitalised;
21
-}
+ let capitalised = `${str[0].toUpperCase()}${str.slice(1)}`;
+ return capitalised;
+}
0 commit comments