I study javascript with my book recently purchased. And the book explain about the performance of for loop. That is, there are 2 style,
A: for(var i=0; i<arr.length; i++){ //some code... }
B: for(var i=arr.length-1; i>-1; i--){ //some code... }
The book describes "style B is more good performance than A". It seems plausible, but when java(not javascript) syntax I don't care about this situation. So my question is "style B is more effective"? Thank you in advance...