;(window => {
const _cathe = window.addEventListener;
window.addList = [];
const handler = {
apply:function(target,thisbinding,args){
Reflect.apply(_cathe,window,args)
window.addList.push(args[0])
console.log(thisbinding)
target()
}
}
window.addEventListener = new Proxy(() => {
console.log(window.addList);
},handler)
})(window)