add: } else { this.children.splice(index, 0, component); 
context: EchoApp.Component.prototype.add = function(component, index) {    if (!(component instanceof EchoApp.Component)) {        throw new Error("Cannot add child: specified component object is not derived from EchoApp.Component.");    }    if (!this.componentType) {        throw new Error("Cannot add child: specified component object does not have a componentType property."                + "Perhaps the EchoApp.Component() super-constructor was not invoked.");    }    if (!this.renderId) {        throw new Error("Cannot add child: specified component object does not have a renderId.");    }	if (component.parent) {		component.parent.remove(component);	}        component.parent = this;            if (index == null || index == this.children.length) {        this.children.push(component);    }        if (this.application) {        component.register(this.application);        this.application.notifyComponentUpdate(this, "children", null, component);    }};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/4645f57e417cc72c0fc6f2daedceb260cfd9a159/Application.js/buggy/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Application.js