black

国家开放大学(网站设计技术)

登录

单项选择题

var str = 'str';
function fun1(){
str = 'fun1';
}
function fun2(){
str = 'fun2';
}
console.log(str);
fun1();
console.log(str);
fun2();以上打印的结果是()

A.str fun2
B.str fun1
C.fun1 fun2
D.fun2 fun1

相关考题

单项选择题 模块化开发的基础是()

单项选择题 (function(foo){ return typeof foo.foo.bar; })({ foo: { bar: 1 } });;结果为()

单项选择题 (function() { console.log(typeof arguments); })();的打印结果为()

All Rights Reserved 版权所有©财会考试题库(ckkao.com)

备案号:湘ICP备2022003000号-2