Idle — take snapshot A, then click Start leaking.
Array count and size delta growsObject instances increaseWindow → leakStoreLook for properties attached directly to the global object. The leak survives GC because the array is reachable from window.
Each interval tick pushes a large array onto window.leakStore. The global reference prevents collection.
// Fix: use module scope with bounds, or delete the reference delete window.leakStore;