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)).
Glossary: Data Structures and Algorithms in JavaScript
Also written: spread, ...
The ... syntax that hands the items of an array to a function one by one, as in push(...left.slice(i)).