Pergunta de entrevista da empresa Nokia

What does the spread operator do in JavaScript?