JSFiddle - React, Tailwind, and code Playground

HTML

test

JavaScript

var ex = {
    exampl: function(e) {
        var evt = e || window.event;
        console.log(evt);
    }
}
document.body.addEventListener('mouseover', ex.exampl, true);