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: