Skip to content

Commit 9fdc5ce

Browse files
committed
Fix comments to clarify function behavior in multiply function
1 parent 534fc0c commit 9fdc5ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • Sprint-3/2-mandatory-debug

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
// =============> write your explanation here
1515
// Answer below:
16-
// The code has two function parameters, it prints the parameters without an actual value. To correct this code the console.log has to be replaced with retun
17-
// To return the value of the parameters when called
16+
// The original logs the product instead of returning it, so the function call inside the template string gives undefined
1817

1918
// Finally, correct the code to fix the problem
2019
// =============> write your new code here

0 commit comments

Comments
 (0)