News for hackers. Stuff that matters.
Re:A Reintroduction to JavaScript by Wintamute on Monday February 03, 2014 @05:17PM (#7173915)
You're correct. Seems like a pretty useless/dangerous idiom to me. How often can you be sure that in 100% of cases your loop will never iterate a 0, an empty string or some other falsey value?

There are no comments on this comment yet.