the GT operator isn't needed as we can rely on implicit type conversion here:

`while(this.children.length) {`