Stuck again on this

Can someone give me feed back? Thank you in advance.

// Setup
var sum = 0;

function addFive() {
sum += 5;
}

// Only change code below this line


// Only change code above this line

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

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/213.0.449417121 Mobile/15E148 Safari/604.1

Challenge: Understanding Undefined Value returned from a Function

Link to the challenge:

You removed the addThree() function, but still kept the function call. This results in a error since addThree is no longer defined. Remove the call or add the function back in and you should pass.

Delete the addThree(); call function. Code doesn’t works if in first call we have the no defined function.

You have modified the code at the wrong place. Please find the following solution:
Mod Edit: SOLUTION REDACTED

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