console.table( Array.prototype.map.call(document.querySelectorAll('a'), function(item, index) { return { href: item.href, target: item.target }; }) );