What is the ES6 spread operator and why you shouldn’t use it
4 min readMar 3, 2019
Important note: This article is no longer accurate, these performance issues are fixed in the recent versions of V8.
JavaScript introduced a spread operator in ES6, which helps you write shorter and nicer code. I started using this operator everywhere I could immediately after learning about it, because why not? It’s the new syntax that was introduced, it’s the…