Skip to content

Commit b4452ff

Browse files
committed
Add prediction for multiply function output
1 parent c50dd38 commit b4452ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Sprint-3/2-mandatory-debug

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Predict and explain first...
22

33
// =============> write your prediction here
4+
// My prediction is the output will be "The result of multiplying 10 and 32 is undefined"
5+
// This occurs because 'multiply()' does not return anything
46

57
function multiply(a, b) {
68
console.log(a * b);

0 commit comments

Comments
 (0)