I was just playing around with event listeners with DOM and Javascript and did notice this:
function chained(msg) { console.log(msg, event); } function o
One can access the current event through window.event. Just using event is implicitly accessing window.event.
window.event
event