Skip to content

Commit 7596b5a

Browse files
authored
Update 1.js
1 parent f5fbe4d commit 7596b5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Sprint-2/2-mandatory-debug

Sprint-2/2-mandatory-debug/1.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
// I predict it will show a undefined error
44

55
function sum(a, b) {
6-
return a + b;
6+
return;
7+
a + b;
78
}
89

910
console.log(`The sum of 10 and 32 is ${sum(10, 32)}`);

0 commit comments

Comments
 (0)