Skip to content

Commit dff88a2

Browse files
make atype error into syntex errorans soon.
1 parent 9e097c2 commit dff88a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// console.log(decimalNumber);
1616

1717
// =============> write your explanation here
18-
// while running this function is shows typeerror because decimal number variable is declared two times.
18+
// while running this function is shows SyntaxError because decimal number variable is declared two times which JavaScript does not allow.
1919
// and in step 15 we need call function name not decimal number.
2020
// Finally, correct the code to fix the problem
2121
// =============> write your new code here

0 commit comments

Comments
 (0)