lib/Ext/data/NodeInterface.js
function(destroy, suppressEvents) {
                    var cn = this.childNodes,
                        n;

                    while ((n = cn[0])) {
                        this.removeChild(n, destroy, suppressEvents);
                    }
                    return this;
                }
function(destroy, suppressEvents) {
                    var cn = this.childNodes,
                        n;

                    while ((n = cn[0])) {
                        this.removeChild(n, destroy, suppressEvents);
                    }
                    return this;
                }
Removes all child nodes from this node.
@param {Boolean} [destroy=false] `true` to destroy the node upon removal.
@return {Ext.data.NodeInterface} this