If I pass the main code to a different function, how do I pass the e variable? Is there any clean way I can add a fake event to the addEventListener parameters just for the purpose of removing it or something?
containers.forEach(container => {
  container.addEventListener('dragover', e => {
    //main code, uses e
  })
})
function f() {
  containers.forEach(container => {
    container.removeEventListener('dragover', ? ? ? )
  })
}
 
    