title: Javascript check atleast 2 strings in array are non-empty
body: <p>I have an array of 4 strings called <code>options</code></p>
  
  <p>I'm currently checking that all elements in it are non-empty with:  </p>
  
  <pre><code>options.every(option =&gt; Boolean(option))
  </code></pre>
  
  <p>I want instead to check that at least 2 are non-empty, some examples:</p>
  
  <p><strong>Valid</strong>  </p>
  
  <pre><code>["opt1", "opt2", "", ""]  
  ["opt1", "opt2", "", "opt4"]
  </code></pre>
  
  <p><strong>Invalid</strong> </p>
  
  <pre><code>["opt1", "", "", ""]  
  ["", "", "", ""]
  </code></pre>
  
  <p>Any help appreciated!</p>