title: array.select() in JavaScript
body: <p>Does JavaScript has similar functionality as Ruby has?</p>
  <pre><code>array.select {|x| x &gt; 3}
  </code></pre>
  <p>Something like:</p>
  <pre><code>array.select(function(x) { if (x &gt; 3)  return true})
  </code></pre>