---
title: "Discussion on \"Rest and Spread operator in JS\" | Hashnode"
description: "Discussion on \"Rest and Spread operator in JS\". What is Spread operator\nSpread operator is use to divide array elements or object  properties inside new array or new object so that elements of object can be inserted or deleted Example\n      const myPot = ['Rudra', 'Kasi', 'Masi'];\n      const newP..."
url: "https://hashnode.com/posts/rest-and-spread-operator-in-js/635761189c662c7afa5f3540"
---

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

Discussion

# [Rest and Spread operator in JS](https://syedzeeshan.hashnode.dev/rest-and-spread-operator-in-js?utm_source=hashnode&utm_medium=feed)

What is Spread operator Spread operator is use to divide array elements or object properties inside new array or new object so that elements of object can be inserted or deleted Example const myPot = \['Rudra', 'Kasi', 'Masi'\]; const newP...

Oct 25, 2022 · 2 min read · syedzeeshan.hashnode.dev  
Read the article

## Written by

[Syed Ali](https://hashnode.com/@syedzeeshan2)

@syedzeeshan2

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
