[Home](./index.md) > [bitburner](./bitburner.md) > [GoAnalysis](./bitburner.goanalysis.md) > [resetStats](./bitburner.goanalysis.resetstats.md) ## GoAnalysis.resetStats() method Reset all win/loss and winstreak records for the No AI opponent. **Signature:** ```typescript resetStats(resetAll = false): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | resetAll | (not declared) | _(Optional)_ if true, reset win/loss records for all opponents. Leaves node power and bonuses unchanged. | **Returns:** void