Skip to content

Commit 2565244

Browse files
author
russom
committed
Comment out code to stop error throwing
1 parent 9582109 commit 2565244

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
// 1. This will give reference error.
1010
//
1111

12-
12+
/*
1313
function square(3) {
1414
return num * num;
1515
}
16-
16+
*/
1717
// =============> write the error message here
1818
//
1919
// SyntaxError: Unexpected number
@@ -30,5 +30,3 @@ function square(3) {
3030
function square(num) {
3131
return num * num;
3232
}
33-
34-

0 commit comments

Comments
 (0)