We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bc832 commit f5fbe4dCopy full SHA for f5fbe4d
1 file changed
Sprint-2/2-mandatory-debug/1.js
@@ -6,7 +6,7 @@ function sum(a, b) {
6
return a + b;
7
}
8
9
-console.log(`The sum of 10 and 32 is ${sum(a + b)}`);
+console.log(`The sum of 10 and 32 is ${sum(10, 32)}`);
10
11
// =============> write your explanation here
12
// The problem was the semicolon after return, which made the function stop before adding the numbers
0 commit comments