If 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...
javascript.co.in1 min read
No responses yet.