选择篇(018)-下面代码的输出是什么?
let c = { greeting: 'Hey!' }
let d
d = c
c.greeting = 'Hello'
console.log(d.greeting)
A: HelloB: undefinedC: ReferenceErrorD: TypeError
参考答案:
let c = { greeting: 'Hey!' }
let d
d = c
c.greeting = 'Hello'
console.log(d.greeting)
A: HelloB: undefinedC: ReferenceErrorD: TypeError
参考答案:
共有 0 条评论