I love spread operator it has saved me lot of times.. instead of using Array.prototype.slice..
Because I always mix it up with Array.prototype.splice...
All ways lead to Rome :) But this one is definitely one of the easier/shorter ones
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.