function( a // an anchor element ){ return function( // return a function b, // that takes a URL. c, // (placeholder) d // (placeholder) ){ a.href = b; // set the target of the link to the URL, and c = {}; // create a hash to be returned. for ( // for each d // property in a // of the anchor, ) if ( // if "" + a[d] // the string version of the property === a[d] // is the same as the property ) c[d] // add it = a[d]; // to the return object return c // return the object } }( document // auto-run with .createElement // a cached anchor element ("a") )