Q. What does the rest operator do?
β
Correct Answer: (C)
Collects remaining arguments
Explanation: The rest operator (...) collects remaining parameters into an array.