Skip to content

Commit f5fbe4d

Browse files
authored
Update 1.js
1 parent 34bc832 commit f5fbe4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-2/2-mandatory-debug

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function sum(a, b) {
66
return a + b;
77
}
88

9-
console.log(`The sum of 10 and 32 is ${sum(a + b)}`);
9+
console.log(`The sum of 10 and 32 is ${sum(10, 32)}`);
1010

1111
// =============> write your explanation here
1212
// The problem was the semicolon after return, which made the function stop before adding the numbers

0 commit comments

Comments
 (0)