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)
本文共 185 字,大约阅读时间需要 1 分钟。
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)
转载于:https://www.cnblogs.com/thiaoqueen/p/7111697.html