---
title: "Discussion on \"Spread vs Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Spread vs Rest Operators in JavaScript\". At first glance, the spread operator and rest operator look exactly the same. Both use three dots:\n...\n\nThat is why a lot of beginners get confused.\nBut even though they share the same syntax, they do"
url: "https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69be24c7475ca179746fcc2e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spread vs Rest Operators in JavaScript](https://blog.sandipan.ch/spread-vs-rest-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

At first glance, the spread operator and rest operator look exactly the same. Both use three dots: ... That is why a lot of beginners get confused. But even though they share the same syntax, they do

Mar 21 · 5 min read · blog.sandipan.ch  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Sandipan Chakraborty](https://hashnode.com/@sandipanch)

@sandipanch · Bhubaneswar, India

  
[View profile](https://hashnode.com/@sandipanch)

Becoming better day by day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
