title: Using Array.includes() instead of OR chain
body: <p>Which is better? I'm concerned about both style/readability and performance.</p>
  
  <pre><code>someMathematicalExpression === 0 || someMathematicalExpression === 1 ||
   someMathematicalExpression === -1 || someMathematicalExpression === 11 || ...
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>[0,1,-1,11,...].includes(someMathematicalExpression)
  </code></pre>
  
  <p>The OR chain has the advantage of being more literal, whereas it might not be obvious from first glance what the intent of the .includes is.</p>
  
  <p>On the other hand, the .includes can be much shorter, and it separates the solutions from the expression, making it easier to see which values will evaluate to <code>true</code>.<br>
  Most significantly, when someMathematicalExpression is fairly complex, the entire OR chain can become very operator-heavy, making it hard to read.</p>
  
  <p>I just wanted to make sure I wasn't missing anything, or check to see if there was a third option I hadn't considered.</p>
  
  <p><strong>TL;DR: is there a reason to not use Array.Includes instead of an OR chain containing only === statements</strong></p>