Skip to content

Commit 54e0afb

Browse files
committed
correct code for o.js 2-mandatory debug
1 parent 031eaf3 commit 54e0afb

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

  • Sprint-3/2-mandatory-debug

‎Sprint-3/2-mandatory-debug/0.js‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ function multiply(a, b) {
88

99
console.log(`The result of multiplying 10 and 32 is ${multiply(10, 32)}`);
1010

11-
// =============> the error is it is not printing out the function call in line 9.
12-
// and returning is as undefined
11+
// =============> the error is it is not printing out the function call in line 9.
12+
// and returning is as undefined.
1313

1414
// Finally, correct the code to fix the problem
15-
// =============>
15+
// Functiion multiply(a,b){
16+
// return a*b
17+
// }
18+
// console.log (`The result of multiplying 10 and 32 is ${multiply(10, 32)}`)

0 commit comments

Comments
 (0)