Anjanesh LekshminarayananforJavaScriptjavascript.co.in·Dec 7, 2023Push and update object using destructuringIf you have an object like this : const default_object = { vehicle: 'car', color: 'red', make: 'Honda', }; and want to update the color then we would simply do default_object.color = 'green' Let's say we have an array of objects like thi...10 likes·31 readsDestructuringAdd a thoughtful commentNo comments yetBe the first to start the conversation.