后面覆盖前面,和^95ye4k一样 let oldObj = { PropA:"oldA", PropB:"oldB" } let newObj = { ...oldObj PropA:"newA", } oldObj = newObj