Updates the value of a nested object property using a specific path.
The object to update.
The path to the property. Can be either a dot-separated string or an array of strings.
The new value to set for the property.
Updates the value of a nested object property using a specific path.