Skip to content

Commit 22b0b87

Browse files
committed
Explain the error message
1 parent 83b4a7b commit 22b0b87

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ console.log(square())
1515

1616
// =============> Unexpected number
1717

18-
// =============> explain this error message here
18+
// =============> unexpected number in the function, there should be only parameter there but here
19+
// number is assigned instead of the variable name
1920

2021
// Finally, correct the code to fix the problem
2122

2223
// =============> write your new code here
2324

2425

26+
27+

0 commit comments

Comments
 (0)