title: Apply bitwise operator to values of array
body: <p>What would be the best way to apply the bitwise OR operator (or any operator I suppose) to an array of values in javascript?</p>
  
  <pre><code>var array = [1, 5, 18, 4];
  // evaluate 1 | 5 | 18 | 4
  </code></pre>