Javascript split function in chrome gives unexpected results
<p>Here is the piece of code </p>

<pre><code>str = "a,b,c";
name = str.split(",");
</code></pre>

<p>The <code>name</code> variable shows up as 'object' type in Firefox and 'string' type in chrome
Why is that happening ?
Here is the jsfiddle <a href="http://jsfiddle.net/XujYT/17/" rel="nofollow">http://jsfiddle.net/XujYT/17/</a></p>

<p>Also the <code>name</code> variable stores the value  <code>"a,b,c"</code> instead of the split array in chrome
<a href="http://jsfiddle.net/XujYT/23/" rel="nofollow">http://jsfiddle.net/XujYT/23/</a></p>
