In this article I compare the performance of the spread operator ...
and the performance of the assignement operator =
in the context of data transformation.
I show that using the spread operator isn't a trivial choice to make and I suggest that immutability and mutation don't have to be mutually exclusive. I also show how one-liner functions can be enriched with the comma operator ,
.