JSFiddle - React, Tailwind, and code Playground

by Nicholas Berlette

JavaScript

var e = window.typeOf = function(e) {
      if (null == e)
        return "null";
      if (null != e.$family)
        return e.$family();
      if (e.nodeName) {
        if (1 == e.nodeType)
          return "element";
        if (3 == e.nodeType)
          return /\S/.test(e.nodeValue) ? "textnode" : "whitespace"
      } else if ("number" == typeof e.length) {
        if ("callee" in e)
          return "arguments";
        if ("item" in e)
          return "collection"
      }
      return typeof e
    },
    t = window.instanceOf = function(e, t) {
      if (null == e)
        return !1;
      for (var n = e.$constructor || e.constructor; n;) {
        if (n === t)
          return !0;
        n = n.parent
      }
      return !!e.hasOwnProperty && e instanceof t
    },
    n = Object.prototype.hasOwnProperty,
    i = !0;
  for (var r in {
      toString: 1
    })
    i = null;

  function o(e, t, r) {
    if (i)
      for (var o = i.length; o--;) {
        var s = i[o];
        n.call(e, s) && t.call(r, s, e[s])
      }
  }
  i && (i = ["hasOwnProperty", "valueOf", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "constructor"]);

  var s = window.Function;
  s.prototype.overloadSetter = function(e) {
      var t = this;
      return function(n, i) {
        if (null == n)
          return this;
        if (e || "string" != typeof n) {
          for (var r in n)
            t.call(this, r, n[r]);
          o(n, t, this)
        } else
          t.call(this, n, i);
        return this
      }
    },
    s.prototype.overloadGetter = function(e) {
      var t = this;
      return function(n) {
        var i, r;
        if ("string" != typeof n ? i = n : arguments.length > 1 ? i = arguments : e && (i = [n]),
          i) {
          r = {};
          for (var o = 0; o < i.length; o++)
            r[i[o]] = t.call(this, i[o])
        } else
          r = t.call(this, n);
        return r
      }
    },
    s.prototype.extend = function(e, t)...