Community

Features of ES6 Part 4: Rest Parameters

(K. Scott Allen) A rest parameter allows a function to work with an unknown or variable number of arguments. A function’s rest parameter always appears at the end of the function’s argument list and uses a triple dot prefix (…), as shown below.

Read More - Register for Free Membership