1 2 3 4 5 6 7 8
// GC-ing during a for-of loop doesn't crash. var i = 0; for (var x of new Set(Object.getOwnPropertyNames(this))) { gc(); if (++i >= 20) break; }