Three dots in Javascript: How to use the Spread Operator and its use with Immutable Arrays

What are the three dots you see in javascript code snippets? The three dots are called the spread operator. It’s a new feature brought in with ES6. ┬áIn this post I will show you some examples where you can use it. I will then talk about how they are helpful for Immutability in your code.
Continue reading “Three dots in Javascript: How to use the Spread Operator and its use with Immutable Arrays”