var obj1 = {"qq":10}; var obj2={"mm":2,"nn":3}; var obj3={"xx":1,"yy":5}; obj1.field1 = obj2; obj1.field2 = obj3; console.log(obj1) 相关文章: