---
title: "Discussion on \"Understanding Spread and Rest Operators in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding Spread and Rest Operators in JavaScript\". In JavaScript, you’ll often see three dots ....\nAt first, it looks confusing, but it actually does two simple things depending on where it is used.\n\nSpread → expands values\n\nRest → collects values\n\n\nS"
url: "https://hashnode.com/posts/understanding-spread-and-rest-operators-in-javascript/69f86a1846610fd606bd7ad7"
---

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

Discussion

# [Understanding Spread and Rest Operators in JavaScript](https://understanding-javascript-methods.hashnode.dev/understanding-spread-and-rest-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, you’ll often see three dots .... At first, it looks confusing, but it actually does two simple things depending on where it is used. Spread → expands values Rest → collects values S

May 4 · 2 min read · understanding-javascript-methods.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#operators-in-javascript](https://hashnode.com/tag/operators-in-javascript)

## Written by

[Jainam Jain](https://hashnode.com/@jainamblogs)

@jainamblogs

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

Computer Science Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
