πŸ“Š JavaScript
Q. What does the rest operator do?
  • (A) Copies arrays
  • (B) Spreads arrays
  • (C) Collects remaining arguments
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Collects remaining arguments

Explanation: The rest operator (...) collects remaining parameters into an array.

Explanation by: Chandani
The rest operator (...) collects remaining parameters into an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
81%
Success Rate