|<- [[jsfn:Challenge - Social media navigation]]|[[jsfn:Using anonymous closures]] ->| var socialMedia = { facebook : 'http://facebook.com/viewsource', twitter: 'http://twitter.com/planetoftheweb', flickr: 'http://flickr.com/planetotheweb', youtube: 'http://youtube.com/planetoftheweb' }; var socialList = function() { var output = ''; for (var i = myList.length - 1; i >= 0; i--) { myList[i].innerHTML = output; }; }(socialMedia);