



Apr 14 · 4 min read · Why do developers get confused? If you’ve ever seen ... in JavaScript, you probably thought: “Wait… is this spread or rest?” The tricky part is:👉 Both spread and rest use the same syntax (...) But
Join discussion
Jun 18, 2023 · 3 min read · To Understand the above concepts we need to know what are Arrays ? We can simply say that Array is a bag that contains different elements. JavaScript uses three dots (...) for both the rest and spread operators. But these two operators are not the sa...
KMd. commented