You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-3/2-mandatory-debug/0.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@
11
11
// =============> write your explanation
12
12
// There should be return but code is perfectly run without changing the return type instead of console.log in line 6.
13
13
14
-
// Finally, correct the code to fix the problem
15
-
// In the section there has no output error but console is for getting output in print but in function there should be a return type so that after correcting this code
14
+
// Finally, correct the code to fix the problem
15
+
// In the section there has no output error but console is for getting output in print but in function there should be a return type so that after correcting this code
16
16
// the output become The result of multiplying 10 and 32 is 320.
17
17
// =============> write your new code here
18
18
functionmultiply(a,b){
19
-
returna*b;
19
+
returna*b;
20
20
}
21
21
22
-
console.log(`The result of multiplying 10 and 32 is ${multiply(10,32)}`);
22
+
console.log(`The result of multiplying 10 and 32 is ${multiply(10,32)}`);
0 commit comments