复制1const box = { x: 10, y: 20 }; 2 3Object.freeze(box); 4 5const shape = box; 6shape.x = 100; 7console.log(shape)
1const box = { x: 10, y: 20 }; 2 3Object.freeze(box); 4 5const shape = box; 6shape.x = 100; 7console.log(shape)
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!