A

Admin • 832.27K Points
Coach

Q. What does the rest operator do?

  • (A) Copies arrays
  • (B) Spreads arrays
  • (C) Collects remaining arguments
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category JavaScript
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.