Skip to content

Commit 667b02a

Browse files
committed
Call the capitalise function with a test string
1 parent 9558f43 commit 667b02a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ function capitalise(str) {
1010
let str = `${str[0].toUpperCase()}${str.slice(1)}`;
1111
return str;
1212
}
13-
13+
capitalise("moses");
1414
// =============> write your explanation here
1515
// =============> write your new code here

0 commit comments

Comments
 (0)