2 ms·
Sure, I agree... And if you go in #javascript on freenode for a few minutes, you'll see endless questions about why their event handler doesn't work. Endless an
by axod 17y ago
Sure, I agree... And if you go in #javascript on freenode for a few minutes, you'll see endless questions about why their event handler doesn't work. Endless answers "use a closure".
I just wish people would read a book on the language first, then the behavior would be pretty obvious and expected.