---
title: "Discussion on \"Spread vs Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Spread vs Rest Operators in JavaScript\". Imagine you are organizing a massive music festival. You have two distinct scenarios to deal with:\n\nThe Lineup (Spread): You have a list of local bands and a list of international headliners. You want"
url: "https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69ff1793f239332df4945621"
---

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

Discussion

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

Imagine you are organizing a massive music festival. You have two distinct scenarios to deal with: The Lineup (Spread): You have a list of local bands and a list of international headliners. You want

May 9 · 3 min read · the-beginners-guide-to-curl.hashnode.dev  
Read the article

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

## Written by

[Saurabh Jagtap](https://hashnode.com/@saurabh004)

@saurabh004

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
