REST PARAMETER IN JAVASCRIPT FOR INTERVIEW PREPARATION

Аватар автора
Введение в JavaScript
What is the rest parameter in ES6? What is the rest operator in javascript | Scaler Topics Rest Operator in JavaScript was introduced in ES6. The last parameter in a JavaScript function prefixed by ... is known as the rest parameter. A rest parameter allows us to bundle an indefinite number of arguments into an array. We can apply various array methods on the rest parameter since it is an array.

0/0


0/0

0/0

0/0