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 db6c1bb commit 3d72d5bCopy full SHA for 3d72d5b
Sprint-2/1-key-errors/0.js
@@ -13,7 +13,7 @@ function capitalise(str) {
13
// my new code:
14
15
function capitalise(str) {
16
- return(`${str[0].toUpperCase()}${str. slice(1)}`)
+ return `${str[0].toUpperCase()}${str. slice(1)}`
17
}
18
console.log(capitalise("morning"))
19
console.log(capitalise("heavy"))
0 commit comments