About Lesson
In this lesson we want to learn about The REST operator is a feature introduced in ECMAScript 6 (ES6) that allows us to represent an indefinite number of arguments as an array. In JavaScript, the REST operator is denoted by the ellipsis (...
) and is used in function definitions to gather all remaining arguments into an array.
Join the conversation