title: What does "options = options || {}" mean in Javascript?
body: <p>I came over a snippet of code the other day that I got curious about, but I'm not really sure what it actually does;</p>
  
  <pre><code>options = options || {};
  </code></pre>
  
  <p>My thought so far; sets variable <code>options</code> to value <code>options</code> if exists, if not, set to empty object.</p>
  
  <p>Yes/no?</p>