Which of the following is the correct output for the following JavaScript code:
<ol class="dp-xml" start="1">
 	<li class="alt">function displayArray(x)</li>
 	<li class="">{</li>
 	<li class="alt"><span class="attribute">var len</span>=<span class="attribute-value">x</span>.length,<span class="attribute">i</span>=<span class="attribute-value">0</span>;</li>
 	<li class="">if(<span class="attribute">len</span>==0)</li>
 	<li class="alt">console.log("Empty Array");</li>
 	<li class="">else</li>
 	<li class="alt">{</li>
 	<li class="">do</li>
 	<li class="alt">{</li>
 	<li class="">   console.log(x[i]);</li>
 	<li class="alt">} while (++i<span class="tag">&lt;</span><span class="tag-name">len</span>);</li>
 	<li class="">}</li>
 	<li class="alt">}</li>
</ol>