text: function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  
  var _hasOwn = Object.prototype.hasOwnProperty;
  
  var _renderArbitrary = function _renderArbitrary(child) {
    var type = _typeof(child);
  
    if (type === "number" || type === "string" || type === "object" && child instanceof String) {
      text(child);
    } else if (Array.isArray(child)) {
      for (var i = 0; i < child.length; i++) {
        _renderArbitrary(child[i]);
      }
    } else if (type === "object") {
      if (child.__jsxDOMWrapper) {
        var func = child.func,
            args = child.args;
  
        if (args) {
          func.apply(this, args);
        } else {
          func();
        }
      } else if (String(child) === "[object Object]") {
        for (var prop in child) {
          if (_hasOwn.call(child, i)) _renderArbitrary(child[i]);
        }
      }
    }
  };
  
  function render() {
    elementOpen("div");
    elementOpen("div");
  
    _renderArbitrary(message);
  
    elementClose("div");
    return elementClose("div");
  }