Loopy's Algorithmic Angst

Bugs - Looping Lolcat

Where logic goes to die

When you think you're done, you're not. Especially not when you're trying to debug.

Here are some of the most heinous looping bugs we've encountered:

Infinitely Recursive | Another One

// Loopy's infinite recursion function
function infiniteRecursion() {
	while (1) {
		console.log("I'm stuck in an infinite loop");
	}
}

// Another one
function anotherLoop() {
	for (var i = 0; i < 10; i++) {
		console.log("Looping again!");
	}
}