---
title: "Discussion on \"Spread Operator & Rest Operator\" | Hashnode"
description: "Discussion on \"Spread Operator & Rest Operator\". Spread Operator\n\nwe spread the original array or object without changing it\n  // example 1 : object\n  const animal = {\n      status: 'healthy'\n  }\n\n  const dog = {\n      ...animal,\n      bark: true\n  }\n\n  console.log(animal) // {status: 'healthy'}\n  ..."
url: "https://hashnode.com/posts/spread-operator-rest-operator/6694c3ce2c9784cd5b07083b"
---

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

Discussion

# [Spread Operator & Rest Operator](https://jaeyeonjung.hashnode.dev/spread-operator-rest-operator?utm_source=hashnode&utm_medium=feed)

Spread Operator we spread the original array or object without changing it // example 1 : object const animal = { status: 'healthy' } const dog = { ...animal, bark: true } console.log(animal) // {status: 'healthy'} ...

Jul 15, 2024 · 1 min read · jaeyeonjung.hashnode.dev  
Read the article

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

## Written by

[Jae Yeon Jung](https://hashnode.com/@jaeyeonjung)

@jaeyeonjung

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

Front end developer in Korea

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
