How does this work? type = type || 'any';
<p>Can anyone explain me how this expression works?</p>

<pre><code>type = type || 'any';
</code></pre>

<p>Does it mean that if type is undefined use 'any'?</p>
