I dont' know the solution

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

// Setup
let sum = 0;

function addThree() {
sum = sum + 3;
}

// Only change code below this line
function addfive(){
sum += 5
}
var result =addfive();

// Only change code above this line

addThree();
addFive();
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55

Challenge: Understanding Undefined Value returned from a Function

Link to the challenge:

The function name should be addFive and you should only have the two function calls at the bottom that is in the starting code.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.