Skip to content

Commit 50d2aea

Browse files
authored
Fix sum function to return the correct value
1 parent 768e1b5 commit 50d2aea

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • Sprint-2/2-mandatory-debug

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// =============> write your prediction here
33

44
function sum(a, b) {
5-
return;
6-
a + b;
5+
return a+b;
76
}
87

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

0 commit comments

Comments
 (0)