摘要: addEventListener的第二个函数传参 用一个匿名函数包裹 document.addEventListener("click",function(){ box(a,b,c) }) function box(a,b,c){ alert(a); } 阅读全文
posted @ 2018-03-14 17:47 Yogic 阅读(331) 评论(0) 推荐(0) 编辑