乐趣区

关于javascript:选择篇018下面代码的输出是什么

let c = {greeting: 'Hey!'}
let d

d = c
c.greeting = 'Hello'
console.log(d.greeting)

A: Hello
B: undefined
C: ReferenceError
D: TypeError

参考答案:

退出移动版