---
title: "Discussion on \"Rest Vs Spread operator in JavaScript, \nWhat's the difference?\" | Hashnode"
description: "Discussion on \"Rest Vs Spread operator in JavaScript, \nWhat's the difference?\". When we see rest and spread operator, \nwhat we see is both have three dots like this ...\nso aren't they are same?\nif not, then what makes them different?\nLet's see,\n\nRest\nas the name suggests, it will have all the parameters which are remaining from ..."
url: "https://hashnode.com/posts/rest-vs-spread-operator-in-javascript-whats-the-difference/61e15313d546507ab034274a"
---

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

Discussion

# [Rest Vs Spread operator in JavaScript, What's the difference?](https://dikshadhote.hashnode.dev/rest-vs-spread-operator-in-javascript-whats-the-difference?utm_source=hashnode&utm_medium=feed)

When we see rest and spread operator, what we see is both have three dots like this ... so aren't they are same? if not, then what makes them different? Let's see, Rest as the name suggests, it will have all the parameters which are remaining from ...

Jan 14, 2022 · 2 min read · dikshadhote.hashnode.dev  
Read the article

-   [#rest](https://hashnode.com/tag/rest)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#js](https://hashnode.com/tag/js)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)

## Written by

[Diksha Dhote](https://hashnode.com/@DikshaDhote)

@DikshaDhote

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

Writing on papar makes it easier...whether it is code or life!!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
