set

Sets the value at path of object. If a portion of path doesn’t exist, it’s created.

Example