---
title: "Discussion on \"Understanding Rest Parameters and Spread Operator in Javascript\" | Hashnode"
description: "Discussion on \"Understanding Rest Parameters and Spread Operator in Javascript\". \"gathering\" and \"expanding\" javascript iterables"
url: "https://hashnode.com/posts/understanding-rest-parameters-and-spread-operator-in-javascript/620c9ec025673f2740ee956d"
---

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

Discussion

# [Understanding Rest Parameters and Spread Operator in Javascript](https://blog.henzzo.com/understanding-rest-parameters-and-spread-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

"gathering" and "expanding" javascript iterables

Feb 16, 2022 · 6 min read · blog.henzzo.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions](https://hashnode.com/tag/functions)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Henzzo](https://hashnode.com/@henzzo)

@henzzo

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

Web Developer

I firmly believe in SOLID front-end, less frame-work, more engineering patterns! As I learn things, my notes turn into articles to share. I share these little bits of information through my articles which help me to chronicle ideas &amp; solutions to problems that we face when building great web products.

## Responses 1

Markdown supported · ⌘↵ to post

[James 'Dante' Midzi](https://hashnode.com/@Psypher1)

[Feb 16, 2022](https://hashnode.com/posts/understanding-rest-parameters-and-spread-operator-in-javascript/620c9ec025673f2740ee956d/comment/620cbc5c7cf10d2765e29709)

Thank you so much for this explanation!

During a boot camp we got to this concept and I couldn't get where the difference was...

You've made it so much clearer

[Feb 16, 2022](https://hashnode.com/posts/understanding-rest-parameters-and-spread-operator-in-javascript/620c9ec025673f2740ee956d/comment/620cbc5c7cf10d2765e29709#reply-620cc80d25673f2740ee9bbe)

glad you found it useful bro.
