title: Complex If statements; || not working as I hoped
body: <p>I feel like this is a really dumb question but my brain is fried. Right now I'm working on a very complex set of if and else statements and I'm wondering if there is an easier way? I originally tried or statements but that didn't give me the desired result. </p>
  
  <pre><code>if(fields[0].value === '' &amp;&amp; fields[1].value === '' &amp;&amp; fields[2].value === '' &amp;&amp; fields[3].value === '' ) {
      clusterGroup.addLayer(layer);
  } else if(fields[0].value === '' &amp;&amp; fields[1].value === city &amp;&amp; fields[2].value === '' &amp;&amp; fields[3].value === '') {
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === '' &amp;&amp; fields[2].value === '' &amp;&amp; fields[3].value === '') {
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === city &amp;&amp; fields[2].value === '' &amp;&amp; fields[3].value === ''){
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === '' &amp;&amp; fields[1].value === '' &amp;&amp; (fields[2].value &lt;= sq &amp;&amp; sq != null) &amp;&amp; fields[3].value === '') {
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === '' &amp;&amp; fields[1].value === '' &amp;&amp; fields[2].value === '' &amp;&amp; (fields[3].value &gt;= sq  &amp;&amp; sq != null)) {
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === '' &amp;&amp; fields[1].value === city &amp;&amp; (fields[2].value &lt;= sq &amp;&amp; sq != null) &amp;&amp; fields[3].value === ''){
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === '' &amp;&amp; fields[2].value === '' &amp;&amp; (fields[3].value &gt;= sq  &amp;&amp; sq != null)){
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === city &amp;&amp; (fields[2].value &lt;= sq &amp;&amp; sq != null) &amp;&amp; fields[3].value === ''){
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === city &amp;&amp; fields[2].value === '' &amp;&amp; (fields[3].value &gt;= sq  &amp;&amp; sq != null)){
      clusterGroup.addLayer(layer);
  
  } else if(fields[0].value === state &amp;&amp; fields[1].value === city &amp;&amp; (fields[2].value &lt;= sq &amp;&amp; sq != null) &amp;&amp; (fields[3].value &gt;= sq  &amp;&amp; sq != null)){
      clusterGroup.addLayer(layer);
  }
  </code></pre>
  
  <p>Thank you in advanced.</p>