Tag: spread operator

Recent Post

How to create a function that accepts an unknown number of arguments in JavaScript

Avoid specifying manually the number of arguments that a function will accept.

The spread operator (the three dots of JavaScript) and its uses

The spread operator lists the contents of an iterable in a comma-separated list.

ES2018: A review of the new features with code examples

Learn about all the new features introduced to JavaScript by ES2018 language update

Spreading…with the JavaScript spread operator

Using the spread operator (...), we can easily capture iterable elements and use them elsewhere.