---
title: "Discussion on \"Spread vs Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Spread vs Rest Operators in JavaScript\". What are Spread (...) Operators?\nThe spread (...) syntax allows an iterable, such as an array or string, to be expanded in places where zero or more arguments (for function calls) or elements (for arr"
url: "https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69cc0a38e4688e4edd1fe6a7"
---

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

Discussion

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

What are Spread (...) Operators? The spread (...) syntax allows an iterable, such as an array or string, to be expanded in places where zero or more arguments (for function calls) or elements (for arr

Mar 31 · 6 min read · debunking-js.hashnode.dev  
Read the article

-   [#webdev](https://hashnode.com/tag/webdev)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)
-   [#webdevcohort2026](https://hashnode.com/tag/webdevcohort2026)
-   [#webdevcohort](https://hashnode.com/tag/webdevcohort)
-   [#web-dev](https://hashnode.com/tag/web-dev)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chai-code](https://hashnode.com/tag/chai-code)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#chai-aur-code](https://hashnode.com/tag/chai-aur-code)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#spread-operator](https://hashnode.com/tag/spread-operator)
-   [#rest-operator](https://hashnode.com/tag/rest-operator)

## Written by

[Shahbaz Ahmed](https://hashnode.com/@shahbazahmed)

@shahbazahmed · Mumbai, Maharashtra, India

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

Full Stack Developer

Software Developer | Full Stack Developer |

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
