Build a Calculator - Step 2

Tell us what’s happening:

i am trying to return the sum of 2 and 7 but i keep getting error

Your code so far


// User Editable Region

function addTwoAndSeven() {
  let sum = 2 + 7;
  return sum; 
}



// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Build a Calculator - Step 2
https://www.freecodecamp.org/learn/full-stack-developer/workshop-calculator/step-2

This is correct syntactically, however the instructions don’t mention an intermediate variable called “sum”. Can you try directly returning the calculation?