Say I have this object:
info: {
   firstName: Joe,
   lastName: Smith,
   userName: jsmith
}
Then through a function I want to update just the userName within info because his userName is now jsmith1. How would I go about doing such a thing?
Say I have this object:
info: {
   firstName: Joe,
   lastName: Smith,
   userName: jsmith
}
Then through a function I want to update just the userName within info because his userName is now jsmith1. How would I go about doing such a thing?
