Want to receive Question of the Day updates? Subscribe Here
JavaScript Question of the Day
Jan. 14, 2025
IncorrectCorrectNo Answer was selectedInvalid Answer
What is the output in the following program?
functionmain(){let x =sumThree(1,2,3);
console.log(x);}functionsumThree(one, two, three){let result = one + two + three;
console.log(one);
console.log(two);
console.log(three);return result;}main();