Skip to content

Commit 4b43c2e

Browse files
committed
just fixed typo
1 parent 132b50e commit 4b43c2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-2/1-key-errors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function capitalise(str) {
99
return str;
1010
}
1111

12-
// =============> the error message 'Identifier 'str' has already been declared', diplays because the toUpperCase function does not change the value of the varible declared
12+
// =============> the error message 'Identifier 'str' has already been declared', diplays because the toUpperCase function does not change the value of the variable declared
1313
// but it creates a new one.
1414
// =============> my new code:
1515
function capitalise(str) {

0 commit comments

Comments
 (0)