Programming Stuff

Monthly Archives: July 2012

Infinite Loop in Javascript

Be careful when you’re writing a for-loop or function using global variables in JavaScript (implicitly). For instance, I was using a function to loop through a variable i as everybody does. But inside the for-loop, I called other method that using […]