JSFiddle - React, Tailwind, and code Playground

JavaScript

var x = (function () {

    alert(x); // undefined
    alert(this); // DOMWindow

})();