---
title: "Discussion on \"Spread vs Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Spread vs Rest Operators in JavaScript\". Same syntax. Opposite jobs. One expands values outward, the other collects them inward.\n\n\nThe Syntax That Does Two Opposite Things\nJavaScript has a three-dot syntax, ..., that appears in two completel"
url: "https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69c75e297cf2706510aab9e3"
---

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

Discussion

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

Same syntax. Opposite jobs. One expands values outward, the other collects them inward. The Syntax That Does Two Opposite Things JavaScript has a three-dot syntax, ..., that appears in two completel

Mar 28 · 11 min read · web-dev-articles.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-spread-vs-rest-operator](https://hashnode.com/tag/javascript-spread-vs-rest-operator)

## Written by

[Prafull Chaudhari](https://hashnode.com/@prafulchaudhari)

@prafulchaudhari · Surat, India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
