Three Dots in JavaScript (…) – Spread in Array Literals explained!

Three Dots in JavaScript

If you came across some code with three dots in JavaScript in combination with arrays and you have no clue what that means, you came to the right place. I will give you a thorough explanation. The three dots in JavaScript are a spread operator and there are two use cases where they are used: Arrays and Objects. In this article, we are looking at spread in array literals. Another separate article will cover spread in object literals.

Read moreThree Dots in JavaScript (…) – Spread in Array Literals explained!