re: Three dots ( … ) in JavaScript VIEW POST


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