code: function removeChild(parent, child) {
          var parentChildIdx = parent._children.indexOf(child)
          parent._children.splice(parentChildIdx, 1)
          incChildrenVersion(parent)
          return parent
      }
docs: remove child from pnode