Why does running jquery each() on an array containing strings break each string into an array of the individual characters?
<p>I have loaded jquery and I have an array (object) containing strings like so:</p>

<pre><code>window.stack = [
  "header",
  "nav",
  ".content",
  "footer"
];
</code></pre>

<p>When I run this through a loop using jquery's each() function and try to get each of my strings back again like this:</p>

<pre><code>$.each(window.stack,function(){
    var h = this;
    console.log(h);
})
</code></pre>

<p>...I get this:</p>

<pre><code>String [ "h", "e", "a", "d", "e", "r" ]
String [ "n", "a", "v" ]
String [ ".", "c", "o", "n", "t", "e", "n", "t" ]
String [ "f", "o", "o", "t", "e", "r" ]
</code></pre>

<p>Why don't I just get:</p>

<pre><code>header
nav
.content
footer
</code></pre>

<p>?</p>