1 2 3 4 5 6 7
// Each Set has its own size. var s1 = new Set(), s2 = new Set(); for (var i = 0; i < 30; i++) s1.add(i); assertEq(s1.size, 30); assertEq(s2.size, 0);