JS多个对象添加到一个对象中
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)
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)