Community

Features Of ES6 Part 5: The Spread

(K. Scott Allen) The spread operator shares the same syntax we saw with rest parameters, a series of three dots (…). However, a rest parameter will collect individual parameters into an array when you use the dots in a function parameter definition, while the spread operator expands an array into

Read More - Register for Free Membership