Create a function addFive without any arguments. This function adds 5 to the sum variable, but its returned value is undefined

Tell us what’s happening:
Pls help me I am stuck in this challenge.

Your code so far
// Example
var sum = 0;
function addThree() {
sum = sum + 3;
}

function addFive() {
sum =sum + 5;
}


// Example
var sum = 0;
function addThree() {
sum = sum + 3;
}

function addFive() {
sum =sum + 5;
}

Your browser information:

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

Challenge: Understanding Undefined Value returned from a Function

Link to the challenge:

it seems you have deleted the function calls, without calling the functions the sum variable doesn’t change

Hi @nitinsen82!

Welcome to the forum!

I would reset the lesson and only write code within these given parameters.

// Only change code below this line


// Only change code above this line

Leave the rest of the code alone.