title: javascript check null or empty string
body: <p>Why is this not possible?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>var value = null;
  
  if(value == (null || ""))
  {
     //do something
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I would like to check a value if it is null or empty without using the variable over and over again.</p>