Skip to content

Commit ca134f6

Browse files
committed
Fix sum function return statement formatting for clarity
1 parent ce0df58 commit ca134f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • Sprint-3/2-mandatory-debug

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
// Finally, correct the code to fix the problem
1919
// =============> write your new code here
2020
function sum(a, b){
21-
return (
22-
a + b
23-
);
21+
return a + b;
2422
}
2523
console.log (`The sum of 10 and 32 is ${sum(10, 32)}`);

0 commit comments

Comments
 (0)