Infinite loop when iterating over a session variable

hey guys

stuck on an issue re session variables. I want to be able to iterate over an array of objects set as a session variable

var stuff = Session.get('image')
var stuff2 = Session.get('plan')
for (var i = 0; stuff2.length; i++) {
    //INFINITE LOOP ERROR OMG HELP!
    console.log(stuff2[i]);
    // i wanna do stuff in here which compares values from these two objects ET
 }

Whenever i run this Chrome freaks out and falls into an infinite loop / crashes

Any clues?

Thanks

For condition always evaluate to true. You probably want something like:

for (var i = 0; i < stuff2.length; i++) { ... }

hahahaha

thank you kindly.

if(error) { 
robin.stopBeingAFoolAndLOOKATTHEBLINDINGLYOBVIOUSERROR();
}