Skip to main content

Edit It: Use Rest Operator to Enclose the Rest of Some Values into an Array

This code shows how to use the Rest Operator to enclose the rest of some user-supplied values into an array.

See it on StackBlitz