Skip to content

Commit d486397

Browse files
author
Payman IB
committed
Update comment to clarify explanation of return statement in sum function
1 parent ed909e1 commit d486397

File tree

1 file changed

+1
-1
lines changed
  • Sprint-2/2-mandatory-debug

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// console.log(`The sum of 10 and 32 is ${sum(10, 32)}`);
1010

1111
// =============> write your explanation here
12-
//the return statement is not returning any value. a+b declared after return.
12+
//the return statement is not returning any value. a+b mentioned after return.
1313
// Finally, correct the code to fix the problem
1414
// =============> write your new code here
1515
function sum(a, b) {

0 commit comments

Comments
 (0)