JavaScript refuses to run the code below. Which statement correctly describes the problem?
function report(...scores, name) {
return `${name}: ${scores.join(", ")}`;
}
console.log(report(90, 85, "Asha"));
"Rest parameter must be last formal parameter". Put name first and call report("Asha", 90, 85).