MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1j1cw7/coffeescripts_scoping_is_madness/cbaao0k/?context=3
r/programming • u/donatj • Jul 25 '13
315 comments sorted by
View all comments
Show parent comment
0
You have to be careful when using jQuery. How many items will the code iterate over?
x = false # [...] $(".some-item").each -> do_something_with $(this) another_thing = x
View all comments
Show parent comment
0
u/dschooh Jul 25 '13
You have to be careful when using jQuery. How many items will the code iterate over?