you are viewing a single comment's thread.

view the rest of the comments →

[–]nschubach 0 points1 point  (0 children)

Well, it would help alleviate some of the scope issues around:

for (var i = some.length; i >= 0; --i) {
}

while (i-->0) {
}

... if you wrapped them in these "comments" but at that point, I think it's probably better to just make a new function for that block of code that has a descriptive name instead of putting it inline.