单项选择题
下面代码的输出是什么?()
let c = { greeting: "Hey!" };
let d;
d = c;
c.greeting = "Hello";
console.log(d.greeting);
A.Hello
B.undefined
C.ReferenceError
D.TypeError
点击查看答案
相关考题
-
单项选择题
下面代码的输出是什么?() +true; !"Lydia";
A.1 and false
B.false and NaN
C.false and false -
单项选择题
以下ECMAScript变量命名格式正确的是()
A._125dollor
B.1207A
C.-dollor
D.This -
单项选择题
阅读以下代码,在页面中结果是() var s="abcdefg"; alert(s.substring(1,2);
A.a
B.b
C.bc
D.ab
