Skip to content

Glossary: Data Structures and Algorithms in JavaScript

Spread operator

Also written: spread, ...

The ... syntax that hands the items of an array to a function one by one, as in push(...left.slice(i)).

Where the book teaches it

Related terms

Slice