Quiz: Rest & Spread Syntax
Test your understanding of JavaScript's rest and spread syntax through targeted quiz questions. This lesson helps reinforce key concepts in array and object manipulation, preparing you to confidently handle these common language features in interviews.
We'll cover the following...
We'll cover the following...
Question 1
Technical Quiz
1.
How is rest syntax different from spread syntax? Multi-select
A.
It expands the values in an array
B.
It collects values in the form of an array
C.
Works in function arguments
D.
Does not work in arrays
E.
None of the above
1 / 1