What is ES6 spread operator and in what cases should we use it ?
For further actions, you may consider blocking this person and/or reporting abuse
What is ES6 spread operator and in what cases should we use it ?
For further actions, you may consider blocking this person and/or reporting abuse
Anthony Max -
Adam Golan -
Charan Sajjanapu -
Jesse Warden -
Top comments (3)
@samanthaming wrote a really nice post about the spread operator today:
Passing Arrays as Function Arguments
Samantha Ming
She even added a simple explanation using Russian dolls :D
Had no idea you could share a post in a comment. Cool! Thanks for the share π
Also, glad you liked the Russian doll explanation. I always find it more fun to explain programming concepts in non-dev terms π
Thanks, that's exactly what I was looking for ! (But making my search on 'spread', I've missed this one)