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 cd25015 commit 651f59eCopy full SHA for 651f59e
Sprint-2/2-mandatory-debug/0.js
@@ -1,6 +1,6 @@
1
// Predict and explain first...
2
3
-// =============> write your prediction here
+// =============> instead of console log should be return
4
5
function multiply(a, b) {
6
console.log(a * b);
@@ -12,3 +12,9 @@ console.log(`The result of multiplying 10 and 32 is ${multiply(10, 32)}`);
12
13
// Finally, correct the code to fix the problem
14
// =============> write your new code here
15
+
16
+function multiply(a, b) {
17
+ return (a * b);
18
+}
19
20
+console.log(`The result of multiplying 10 and 32 is ${multiply(10, 32)}`);
0 commit comments