8 ways to use the Spread operator
03 September, 2020
JavaScript Jeep recently shared an article on ways to use the Spred operator.
Spread operator expands an iterable object (i.e. an Array) into its individual element. An iterable object is anything that you can loop over.
let fruits = ['🍈', '🍉', '🍋', '🍌'];
console.log(...fruits); //🍈 🍉 🍋 🍌
Check out the full article for more ways to use the Spread operator