Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 108: Destructuring Arrays
Implement `firstTwo(arr)` returning `{ first, second }` using array destructuring.
+ 1 hidden test run on Submit.
Array destructuring binds the first two elements by position.
Run your code to see results.