What it exactly means in Javascript (assigning variable)
<p>I have question because I am not sure and cannot find answer on Stack Overflow about this.</p>

<p>What this exactly mean:</p>

<pre><code>variable = variable || {}
</code></pre>

<p>or something that:</p>

<pre><code>this.pointX = options.pointX || 6;
</code></pre>

<p>I understand that it assign to <code>variable</code> a <code>variable</code> if it <strong>exist</strong> or <code>empty Object</code> if variable doesn't exist but why it working that?</p>

<p>Is <code>||</code> not mean 'or' here?</p>
