10 ways to use the spread operator in JavaScript