JSFiddle - React, Tailwind, and code Playground

JavaScript

(function(){
    var t = 1;
    console.log(t in window, t); // outputs: false 1
}());