以下代码的运行结果是? var t=setTimeout(function(){alert("Hello")},3000)
举一反三
- 以下代码运行后,结果为() fn1();var fn1 = function(a){alert(a);}
- 下面代码的运行结果是:第一次弹 var a = 100; function fn1() { alert(a); var a = 10; } alert( fn1() );
- 写出下面代码的运行结果。var a, b;(function() {alert(a);alert(b);var a = b = 3;alert(a);alert(b);})();alert(a);alert(b);
- setTimeout(function(){ alert("恭喜过关"); },3000); 下列关于此段代码描述正确的是
- 下面代码的运行结果是( )。var str= "hello world" ;var str1=str.toUpperCase();var str2=str.toLowerCase() ;alert (str1) ;alert (str2) ; A: "HELLO WORLD","HELLO WORLD" B: "HELLO WORLD","hello world" C: "hello worl","HELLO WORLD" D: "hello world","hello world"