IFE-18笔记
删除触发事件:removeChild(event.target)
数组事件:(左)push pop-----(右)unshift shift
//queue为触发事件的父类
queue.addEventListener('click',deleteDiv,false); function deleteDiv(event){ //if(event.target.className =='item'){ if(event.target.className =='item'){ queue.removeChild(event.target) }