toArray() {
        const a = [];
        this.toArrayRec(this.buildTree(), a);
        return a;
    }
/**
     * Returns an array of the node set's contents in document order
     */
Returns an array of the node set's contents in document order
Returns an array of the node set ' s contents in document order
toArray() {
        const a = [];
        this.toArrayRec(this.buildTree(), a);
        return a;
    }
toArray ( ) { const a = [ ] ; this . toArrayRec ( this . buildTree ( ) , a ) ; return a ; }
Returns an array of the node set's contents in document order
Returns an array of the node set ' s contents in document order