What goes in the blank?
// collect the remaining arguments
function log(first, ____rest) {
console.log(rest.length);
}
Answer: ...
The rest parameter gathers the extra arguments into an array.
Play Problem Solving ▸
// collect the remaining arguments
function log(first, ____rest) {
console.log(rest.length);
}
Answer: ...