Does jQuery's html() method auto-join the argument if it's an array? : <p>While experimenting, I came across this.</p>

<pre><code>&lt;div id="result"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
$('#result').html(['&lt;p&gt;This is inside an array&lt;/p&gt;', '&lt;em&gt;This is second item in array&lt;/em&gt;']);
&lt;/script&gt;
</code></pre>

<p>When the page was reneded, I could see the following markup in the browser console:</p>

<pre><code>&lt;div id="result"&gt;
   &lt;p&gt;This is inside an array&lt;/p&gt;
   &lt;em&gt;This is second item in array&lt;/em&gt;
&lt;/div&gt;
</code></pre>

<p>Does this mean that jQuery is running <code>array.join("")</code> in the background if the argument/parameter supplied to the .<code>html()</code> method is an array?</p>

<p>I couldn't find this mentioned in the documentation and hence was curious to know more on this.</p>
