Skip to content

Commit a75e02a

Browse files
fix: resolve syntax error in capitalise function and remove console.log
1 parent 8098b0e commit a75e02a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • Sprint-3/1-key-errors

‎Sprint-3/1-key-errors/0.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ capitalise("matthaus enjoys food")
1818

1919
function capitalise(str) {
2020
return '${str[0].toUpperCase()}${str.slice(1)}';
21-
}
22-
console.log(return);
21+
}

0 commit comments

Comments
 (0)