Skip to content

Commit 3d72d5b

Browse files
committed
commit
1 parent db6c1bb commit 3d72d5b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function capitalise(str) {
1313
// my new code:
1414

1515
function capitalise(str) {
16-
return(`${str[0].toUpperCase()}${str. slice(1)}`)
16+
return `${str[0].toUpperCase()}${str. slice(1)}`
1717
}
1818
console.log(capitalise("morning"))
1919
console.log(capitalise("heavy"))

0 commit comments

Comments
 (0)