Archived
Considering the following function:
function sum() {
return arguments.reduce(function(total, nb) {
return total + nb;
}, '');
}
What will happen if we execute the following expression?
sum(1, 2, 3, 4);
Similar QuestionsMore questions about Javascript