File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
exercises/concept/train-driver/.docs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212## 2. Move the first two elements to the end of the array
1313
1414- You can unpack a series of parameters using [ a destructuring assignment (` ... ` )] [ destructuring-assignment ] .
15- This lets you extract the first two elements of a ` array ` while keeping the rest intact.
15+ This lets you extract the first two elements of an ` array ` while keeping the rest intact.
1616- To add another ` array ` into an existing ` array ` , you can use the ` ... ` operator to "spread" the ` array ` .
1717
1818## 3. Add missing values
1919
20- - Using unpacking with the rest operator(` ... ` ), lets you extract the first two elements of a ` array ` while keeping the rest intact.
20+ - Using unpacking with the rest operator(` ... ` ), you can extract the first element of an ` array ` while keeping the rest intact.
2121- To add another ` array ` into an existing ` array ` , you can use the ` ... ` operator to "spread" the ` array ` .
2222
2323## 4. Extend routing information
You can’t perform that action at this time.
0 commit comments