JavaScript memory leaks - test

Intro

Explanation

Does not leak.

function init()
{
	createLinks();
	var x = document.getElementsByTagName('a');
	for (var i=0;i<x.length;i+=2)
	{
		if (!x[i].nextSibling) return;
		x[i].relatedElement = x[i].nextSibling;
		x[i].nextSibling.relatedElement = x[i];
	}
}

Test