Multiple ChoiceBeginner 30s
Rest Parameters — Arguments Object
Choose the best answer for: ...args
Options
- 1Rest parameters go before regular params and come first in the list
- 2Rest creates an object whose properties are the extra arguments
- 3function f(...args) collects remaining arguments into an array
- 4...args is spread only and cannot collect arguments at all
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.