beyang (Beyang Liu)

Členem od

Nedávná aktivita v dokumentech

Zobrazit kompletní seznam aktivit
Stránka Datum Komentář

A re-introduction to JavaScript (JS tutorial)

I am no JS expert, but it seems like the memory leak example does not actually leak. The 'this' variable is bound when the function is called, not when it's defined. To have a circular reference, wouldn't the function have to reference 'el' directly?