Skip to content

Commit c53c5ed

Browse files
committed
Comment out square function to correct SyntaxError
1 parent 409baf9 commit c53c5ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
// =============> write your prediction of the error here
77
// The program will throw a SyntaxError
88

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

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

0 commit comments

Comments
 (0)