[单选题]分析下段代码输出结果是( )。 <html><body><script type=Text/JavaScript>x=a;y=b;z=false;function testOne( ){ var x=c; var y=d; z=true; console.log(x); console.log(y);console.log(z);}function testTwo( ){ console.log(x); console.log(y); console.log(z);}testOne( );testTwo( );</script></body></html>
北开题库
|
2023-10-01 08:09:56
|
15
[单选题]分析下段代码输出结果是( )。 <html><body><script type=Text/JavaScript>x=a;y=b;z=false;function testOne( ){ var x=c; var y=d; z=true; console.log(x); console.log(y);console.log(z);}function testTwo( ){ console.log(x); console.log(y); console.log(z);}testOne( );testTwo( );</script></body></html>

A.cd true a b true
B.c d true c d true
C.c d fasle a b true
D.a b true c d true
查看答案

国家开放大学

形成性考核

您可能感兴趣的试题
TOP