Tell us what’s happening:
add 5 to the sum variable, I don’t get this point, could anyone help me? please
Your code so far
// Example
var sum = 0;
function addThree() {
sum = sum + 3;
}
// Only change code below this line
var sum = 8;
function addFive (){
sum = 5 + 3;
}
// Only change code above this line
var returnedValue = addFive();
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understanding-undefined-value-returned-from-a-function