So...I havent been on here in a while, but I cant seem to find the wall of shame so I thought here would do :P While going through our current framework I came across a module written by one of our senior devs, who apparently doesnt know what a break is, here is an example of what he does :
for (var i = 0;i < myArray.length; i++) {
if (conditionIsMet) {
i = myArray.length;
}
}
I gave him the benefit of the doubt and thought that maybe he was using i somewhere else, but he wasn't. Anyways, just a little laugh...Has anyone else found any gems like this??
-- Dom