line 109: this.nodes.push(newNode); I think that nodes is not used. Is it only for PRINT_STATS? If so, You should use nodes counter instead of nodes.
line 109: this.nodes.push(newNode);
I think that nodes is not used. Is it only for PRINT_STATS?
If so, You should use nodes counter instead of nodes.