object1 = { content1: {} } object2 = { stuff: {},moreStuff: {} }
我想将object2的内容添加到content1(在object1中).
像这样:
object1 = { content1: { stuff: {},moreStuff: {} } }
object1.content1 = object2