jQuery outerHTML

In search for retrieving posts in WordPress via AJAX, I stumbled upon this nifty snippet. Essentially replicates outerHTML in the jQuery way.

// html = returned data from AJAX respose
 
jQuery(html).find('article').get().map(function(v){return v.outerHTML}).join('');