Why does the following evaluate to 'hi'?
<p>Why does the following evaluate to <code>'hi'</code>?</p>

<pre><code>'hi' || true || 50
</code></pre>

<p>I'm not super new to javascript, but I'm rebeefing my knowledge by going through some old books and I for the life of me do not understand why this evaluates to <code>'hi'</code> instead of true.. Can someone explain this??</p>