1 2 3 4 5 6 7 8 9 10
function Foo(a, b) { b = {}; this.b = b; }; var a = []; for (var i = 0; i < 50; i++) a.push(new Foo(i, i + 1)); i = 0; a[i].c = i;