Skip to content

Commit 6b5e82d

Browse files
committed
Just made changes on question
1 parent 045a934 commit 6b5e82d

File tree

1 file changed

+3
-3
lines changed
  • Sprint-2/1-key-errors

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
// =============> write your prediction of the error here
88
// My perdiction is that program will not run and show a SyntaxError because 3 is not a valid variable name.
99

10-
function square(3) {
11-
return num * num;
12-
}
10+
// function square(3) {
11+
// return num * num;
12+
// }
1313

1414
// =============> write the error message here
1515
// SyntaxError: Unexpected number

0 commit comments

Comments
 (0)