结论
element.addEventListener(event, function[, useCapture])
event:事件名称,如click
function:指定要事件触发时执行的函数,可以传入事件参数...id="cc">cc
function print(e){
console.log(this.id);
}
aa.addEventListener...('click',print);//第三个参数默认为false
bb.addEventListener('click',print);
cc.addEventListener('click'...('click',print,true);//第三个参数默认为false
bb.addEventListener('click',print,true);
cc.addEventListener...('click',print,true);//第三个参数默认为false
bb.addEventListener('click',print,true);
cc.addEventListener