Why join() method returns different result than expected
<p>As mentioned in <a href="http://www.w3schools.com/jsref/jsref_join.asp" rel="nofollow">w3schools</a> join() method, joins all elements of an array into a string, and returns the string.
So if you try the following:</p>

<pre><code>console.log(new Array(6).join('a'));
</code></pre>

<p>I would expect to get: <code>"aaaaaa"</code>
but instead I get:<code>"aaaaa"</code>, that means one less.</p>

<p>Can someone explain me why is that happening?</p>
