var s1 = 'xx'; for (var x = 0; x < 10 ; ++x ) { new function() { return s1++; }; gc(); }