---
title: "Discussion on \"Spread vs Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Spread vs Rest Operators in JavaScript\". Here's something that trips people up early on: spread and rest look identical. Both use .... Both show up in JavaScript you'll read and write constantly. But they do opposite things depending on wher"
url: "https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69fc428e696cb62b1659f272"
---

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

Discussion

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

Here's something that trips people up early on: spread and rest look identical. Both use .... Both show up in JavaScript you'll read and write constantly. But they do opposite things depending on wher

May 7 · 8 min read · blog-santra.hashnode.dev  
Read the article

-   [#spread-and-rest-operators-in-javascript](https://hashnode.com/tag/spread-and-rest-operators-in-javascript)
-   [#rest-operator](https://hashnode.com/tag/rest-operator)
-   [#spread-syntax](https://hashnode.com/tag/spread-syntax)

## Written by

[Santra](https://hashnode.com/@Santra)

@Santra

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
