title: Return shorthand if assignment is false in JavaScript?
body: <p>In a JavaScript function I would like to return if a given value is null.</p>
  <p>While this works:</p>
  <pre><code>const A = this.B;
  
  if (!A) {
     return;
  }
  
  // More code...
  </code></pre>
  <p>I would like to know if there's a simpler form to do this:</p>
  <p>These don't work:</p>
  <pre><code>const A = this.B || return;
  
  // More code...
  </code></pre>
  <pre><code>const A = this.B;
                                                                                     
  !A || return;
  
  // More code...
  </code></pre>
  <p>Is there a possible shorthand for this?</p>