单项选择题

var fun = function fn(){
return;alert(12);
};
console.log(fun());打印结果是()

A.弹出12
B.程序报错
C.null
D.undefined

<上一题 目录 下一题>
热门 试题

单项选择题
在函数内部阻止浏览器默认事件的方法,正确的是()

A.event.stop()
B.event.preventDeafult()
C.event.stopPropagation()
D.event.prevent()

单项选择题
给已知元素btn添加Dom0级事件,以下正确的是()

A.btn.click=function(){}
B.btn.onclick=function(){}
C.btn.addEventListener(’click’,function(){})
D.btn.on(’click’,function(){})

相关试题
  • 在FrontPage 中设置网页背景.如果先设置...
  • 为了让更多的人了解企业的形象和产品,选择...
  • 制作网站前的一个重要环节是()。
  • 在FrontPage 中,对于表格的处理,下列说...
  • 在FrontPage 中改变表格边框的粗细,可以...