Skip to content

Commit 6570ced

Browse files
committed
write prediction for 2.js
1 parent e071e69 commit 6570ced

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// this function should square any number but instead we're going to get an error
55

6-
// =============> write your prediction of the error here
6+
// =============> // I predict a SyntaxError because 3 is a number, but a function parameter needs to be a name.
77

88
function square(3) {
99
return num * num;

0 commit comments

Comments
 (0)