How does string comparison work in JavaScript?
<p>What the algorithm work behind string comparison in javascript, for example</p>

<pre><code>'bc' &gt; 'ac' = true/false ?
'ac' &gt; 'bc' = true/false ?
</code></pre>