单项选择题
A.event.stop() B.event.preventDeafult() C.event.stopPropagation() D.event.prevent()
给已知元素btn添加Dom0级事件,以下正确的是()A.btn.click=function(){}B.btn...
单项选择题给已知元素btn添加Dom0级事件,以下正确的是()
A.btn.click=function(){} B.btn.onclick=function(){} C.btn.addEventListener(’click’,function(){}) D.btn.on(’click’,function(){})
以下关于模块化开发与按需加载的适用场景不符合的是()A.应用复杂B.需要长期维护C.对性能要求苛刻D.短期项目
单项选择题以下关于模块化开发与按需加载的适用场景不符合的是()
A.应用复杂 B.需要长期维护 C.对性能要求苛刻 D.短期项目
var hel="hello"; (function(){ var word="World"; console...
var hel="hello"; (function(){ var word="World"; console.log(hel+word); })();以上代码最后一次打印的结果是( )
A.helloWorld B.undefined C.程序报错bar is not defined D.null