复制1const user = { name: "Lydia", age: 21 }; 2const admin = { admin: true, ...user }; 3 4console.log(admin);
1const user = { name: "Lydia", age: 21 }; 2const admin = { admin: true, ...user }; 3 4console.log(admin);
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!