Possible Duplicate:
Difference between using var and not using var in JavaScript
sometime, I saw people doing this
for(var i=0; i< array.length; i++){
//bababa
}
but I also see people doing this...
for(i=0; i< array.length; i++){
//bababa
}
What is the different between two? Thank you.