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 40804b4 commit c301336Copy full SHA for c301336
Sprint-2/1-key-errors/0.js
@@ -13,6 +13,6 @@ function capitalise(str) {
13
// but it creates a new one.
14
// =============> my new code:
15
function capitalise(str) {
16
- result = `${str[0].toUpperCase()}${str.slice(1)}`;
+ let result = `${str[0].toUpperCase()}${str.slice(1)}`;
17
return resault;
18
}
0 commit comments