This is sooo Confusing to me SOLVED

I watched that guy’s video when you need help, so i watched and did the SAME thing but wont work

Your code so far


// Setup
var sum = 0;

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

// Only change code below this line
var sum = 0;
function addThree() {
sum = sum + 3;
}

function addFive() {
sum += 5;
}

// Only change code above this line

addThree();
addFive();

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Understanding Undefined Value returned from a Function

Link to the challenge:

Reset the code for this challenge using the “Reset All Code” button.

Then do not change any of the existing code. The only thing you should do is add the addFive function in between the two comments about placing your code above/below this line.

Yea I already solve it!!!