code: function(name) {
      if(this.hasChild(name)) {
        var i = this.children.indexOf(this.childrenMap[name]);
        this.children.splice(i, 1);
        delete this.childrenMap[name];
      }
      return this;
    }
docs: name函数声明，id表达式