Skip to main content

Edit It: Use Array Destructuring to Assign the Rest of an Array to a Variable

This code shows how to use Array Destructuring to assign the rest of an array literal to a variable.

See it on StackBlitz