فعّالیت اسناد اخیر
View all activityصفحه | تاریخ | توضیح |
---|---|---|
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? | |
Mozilla |