Skip to content

Commit 071cf21

Browse files
fix: add console log for square function with example input and corrected error missing )
1 parent 7620265 commit 071cf21

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ SyntaxError: Unexpected number
2929
function square(num){
3030
return num * num;
3131
}
32+
console.log(square(3));
3233
console.log(square(10));

0 commit comments

Comments
 (0)