---
title: "Discussion on \"Difference between spread and rest operators in javascript\" | Hashnode"
description: "Discussion on \"Difference between spread and rest operators in javascript\". 👉  Spread and  Rest operator both uses ... three dots so should we consider them same❓\nNot at all .....\nThey are completely different. So in this article, We are gonna learn about their differences and what they exactly do?\nThe main difference betwe..."
url: "https://hashnode.com/posts/difference-between-spread-and-rest-operators-in-javascript/631ed624f73f4734bc059e46"
---

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

Discussion

# [Difference between spread and rest operators in javascript](https://muskan-creator.hashnode.dev/difference-between-spread-and-rest-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

👉 Spread and Rest operator both uses ... three dots so should we consider them same❓ Not at all ..... They are completely different. So in this article, We are gonna learn about their differences and what they exactly do? The main difference betwe...

Sep 12, 2022 · 6 min read · muskan-creator.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#learncodeonline](https://hashnode.com/tag/learncodeonline)
-   [#hiteshchoudharylco](https://hashnode.com/tag/hiteshchoudharylco)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#spread-operator](https://hashnode.com/tag/spread-operator)

## Written by

[Muskan Bansal](https://hashnode.com/@Muskan0109)

@Muskan0109 · india

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

Software Developer

Muskan is a Digital Marketer and Content Marketing Specialist, She enjoys technical and non-technical writing. Her passion and urge to gain new insights into lifestyle, Education, and technology have led her to learn new things.She quenches her thirst for technology through her action-oriented writing skills and a profound ability to stay up-to-date with the latest industry trends.

## Responses 2

Markdown supported · ⌘↵ to post

[Vinay Pratap Singh](https://hashnode.com/@itsharvihere)

[Sep 13, 2022](https://hashnode.com/posts/difference-between-spread-and-rest-operators-in-javascript/631ed624f73f4734bc059e46/comment/631fe822526d775aa7f6706e)

What a superb article, enjoyed a lot

[Muskan Bansal](https://hashnode.com/@Muskan0109)

[Sep 13, 2022](https://hashnode.com/posts/difference-between-spread-and-rest-operators-in-javascript/631ed624f73f4734bc059e46/comment/631fe822526d775aa7f6706e#reply-631feb356c86d75accc7f97f)

Thankyou Vinay for your kind words.

[The Overaged Developer](https://hashnode.com/@TheOveragedDeveloper)

[Sep 12, 2022](https://hashnode.com/posts/difference-between-spread-and-rest-operators-in-javascript/631ed624f73f4734bc059e46/comment/631ef073f73f4734bc05a51d)

Thanks for sharing, Muskan. I enjoyed reading your article.

[Muskan Bansal](https://hashnode.com/@Muskan0109)

[Sep 13, 2022](https://hashnode.com/posts/difference-between-spread-and-rest-operators-in-javascript/631ed624f73f4734bc059e46/comment/631ef073f73f4734bc05a51d#reply-631feb166c86d75accc7f974)

Thankyou for your kind words
