---
title: "Discussion on \"Modifying Objects in an Array in Javascript\" | Hashnode"
description: "Discussion on \"Modifying Objects in an Array in Javascript\". A way to check and modify if necessary each property in each object in an array\nImagine you have an array of objects like this\nmyArray = [\n{'name':'2', 'address':'Manchester','pet':'cat'},\n{'shirt':'5', 'chair':'34', 'carpet':'youtube'},\n{'plus':'1',..."
url: "https://hashnode.com/posts/modifying-objects-in-an-array-in-javascript/60f9d5cd62e20b58c1c90b71"
---

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

Discussion

# [Modifying Objects in an Array in Javascript](https://jaxtrax.hashnode.dev/modifying-objects-in-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

A way to check and modify if necessary each property in each object in an array Imagine you have an array of objects like this myArray = \[ {'name':'2', 'address':'Manchester','pet':'cat'}, {'shirt':'5', 'chair':'34', 'carpet':'youtube'}, {'plus':'1',...

Jul 22, 2021 · 2 min read · jaxtrax.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#objects](https://hashnode.com/tag/objects)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#array-methods](https://hashnode.com/tag/array-methods)

## Written by

[jax](https://hashnode.com/@jax)

@jax

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

react developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
