I have a structure like the following:
skillet.person = { name: { first: \'\', last: \'\' }, age: { current: \'\' }, birthday: { day:
push is a method of Arrays that adds a new item to an array.
push
Array
If you want to replace the value then:
skillet.person.name = { … };
If you want to store multiple (full) names in the object, then you'll need the property to hold an array of objects instead of a single object.