Features of ES6 Part 4: Rest Parameters

added by Paul Wheeler
8/19/2014 12:41:35 PM

3 Kicks, 80 Views

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 (...)