JSFiddle - React, Tailwind, and code Playground

by Shawn Stark

HTML

var twentySecondObj(function(window,document){
    var base_obj = undefined;
    var externalAPI = undefined;
    setTimeout(function(){
        base_obj = undefined;
    },20000);
    return function(){
        base_obj = (function(base_obj){
            if(base_obj === undefined){
                return {
                    property1:"This is property1",
                    property2:"This is property2"
                }
            }
        })();
        externalAPI = (function(){
            if(externalAPI === undefined){
                return {
                    property1:base_obj.property1,
                    property2:base_obj.property2
                }
            }
        })();
        return externalAPI;
    }
})(window,document);

JavaScript

var;;;
var ;; ;var twentySecondObj(function(window,document){
    var base_obj = undefined;
    var externalAPI = undefined;
    setTimeout(function(){
        base_obj = undefined;
    },20000);
    return function(){
        base_obj = (function(base_obj){
            if(base_obj === undefined){
                return {
                    property1:"This is property1",
                    property2:"This is property2"
                }
            }
        })();
        externalAPI = (function(){
            if(externalAPI === undefined){
                return {
                    property1:base_obj.property1,
                    property2:base_obj.property2
                }
            }
        })();
        return externalAPI;
    }
})(window,document);