JSFiddle - React, Tailwind, and code Playground

by podgorniy

JavaScript

document.onclick = function (event) {
    event.target = null;
    console.log(event.target);
}