jQuery html injection from list without wrapping
<p>I'm following quide in <a href="http://api.jquery.com/jQuery.getJSON/" rel="nofollow">http://api.jquery.com/jQuery.getJSON/</a> and everything is great except I'm puzzled about injection part.</p>

<p>It's hard for me to understand what this exactly does:</p>

<pre><code>$('&lt;ul/&gt;', {
    'class': 'my-new-list',
    html: items.join('')
}).appendTo('body');
</code></pre>

<p>Well <code>appendTo()</code> is clear. But how it makes html out of JS array and how to remove wrapping? Can this be translated to group of simple commands?</p>
