Which of the following is the correct output for the following JavaScript code?
<ol class="dp-xml" start="1">
 	<li class="alt">Int <span class="attribute">x</span>=<span class="attribute-value">8</span>;</li>
 	<li class="">if(x<span class="tag">&gt;</span>9)</li>
 	<li class="alt">{</li>
 	<li class="">document.write(9);</li>
 	<li class="alt">}</li>
 	<li class="">else</li>
 	<li class="alt">{</li>
 	<li class="">document.write(x);</li>
 	<li class="alt">}</li>
</ol>