Skip to content

Commit c640146

Browse files
deleted line 12 as it has been stated in line 17
1 parent 09bea6c commit c640146

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ and will append the sliced string from index 1 which is the second letter
88

99
// call the function capitalise with a string input
1010
// interpret the error message and figure out why an error is occurring
11-
12-
/* syntax Error :identifier the variabel has already been declared.
13-
As we can see the str variable has already been declared in the prameter of the function instead we just return the value */
14-
1511
// function capitalise(str) {
1612
// let str = `${str[0].toUpperCase()}${str.slice(1)}`;
1713
// return str;

0 commit comments

Comments
 (0)