Spread operator with native array methods
Efficient use of the spread operator in Javascript can result in much cleaner code by eliminating loops and associated variables. Here are three examples:(nearly identical, but this article is meant for beginners)