3 ms·
Leaky closures are not JS "feature", but a bug in one implementation (IE<8's GC doesn't clean up cycles). Other browsers handle that fine. Similarly object enu
by pornel 16y ago
Leaky closures are not JS "feature", but a bug in one implementation (IE<8's GC doesn't clean up cycles). Other browsers handle that fine.
Similarly object enumeration is tricky business because implementations don't agree, especially IE<9 doesn't support DontEnum attribute properly.
Type systems can be debated endlessly. In this case I think Google's choice might be motivated by GWT (avoids impedance mismatch with Java).