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
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,7 @@
13
13
14
14
// =============> write your explanation here
15
15
// 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
0 commit comments