1 2 3 4 5 6 7 8
var accesses = 100000; for (var i = 0; i < accesses; i++) assertEq(timesAccessed, i+1); gc(); assertEq(timesAccessed, accesses + 1);