The object to modify.
The path of the property to set.
The value to set.
Returns object
.
Sets the value at path
of object
. If a portion of path
doesn't exist,
it's created. Arrays are created for missing index properties while objects
are created for all other missing properties. Use setWith
to customize
path
creation.
Note: This method mutates object
.
The object to modify.
The path of the property to set.
The value to set.
Returns object
.
Sets the value at
path
ofobject
. If a portion ofpath
doesn't exist, it's created. Arrays are created for missing index properties while objects are created for all other missing properties. UsesetWith
to customizepath
creation.Note: This method mutates
object
.