Tell us what’s happening:
Your code so far
// Setup
var sum = 4;
function addThree() {
return sum +sum;
}
// Only change code below this line7
function addFive(){
sum +=5;
}
// Only change code above this line
addThree(4);
addFive();
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Understanding Undefined Value returned from a Function
Link to the challenge: