re: Three dots ( … ) in JavaScript VIEW POST

VIEW FULL DISCUSSION
 

Great explanation! I knew about the rest parameters and even used them in my code, and now, thanks to your explanation, I will also use the spread operator. First of all, I replace all Object.assign() in my code with a short form.

 
code of conduct - report abuse