code: function create(type, nameOrValue) {
    if (type == 9) {
      return document.implementation.createDocument(null, null);
    } else if (type == 10) {
      return document.implementation.createDocumentType(...nameOrValue);
    } else if (type == 11) {
      return document.createDocumentFragment();
    } else if ((0, _type.isBranch)(type)) {
      const name = type == 1 ? nameOrValue : "l3-" + constructors[type];
      var elem = document.createElement(name);
      if (type == 14) elem.name = nameOrValue;
      return elem;
    } else if (type == 2) {
      return document.createAttribute(nameOrValue);
    } else if (type == 3) {
      return document.createTextNode(nameOrValue);
    } else if (type == 4) {
      // provisional link type ;)
      const node = document.createElement("link");
      node.setAttribute("rel", "import");
      node.setAttribute("href", nameOrValue);
      return node;
    } else if (type == 7) {
      return document.createProcessingInstruction(...nameOrValue);
    } else if (type == 8) {
      return document.createComment(nameOrValue);
    }
  }
docs: TODO relative document?