Spread vs Rest
In this lesson, we will explore the features represented by three dots in JavaScript, the rest parameter and the spread operator.
We'll cover the following...
JavaScript version ES6 (ES2015) brought us a couple of useful features for arrays represented by three dots ..., the rest parameter and the spread operator. ES2018 introduced the same syntax for ...
Ask