JavaScript memory leaks - test

Intro

Explanation

Doesn't leak.

function init()
{
	createLinks();
	var x = document.getElementsByTagName('a');
	for (var i=0;i<x.length;i++)
	{
		x[i].onclick = function () {
			this.style.backgroundColor = '#cc0000';
		}
	}
}

Test