title: Vue.js filter id on array
body: <p>How can I filter like this on vue.js? </p>
  
  <pre><code>$followid = [1,2,3,4,4,5];
  foreach ($array as $element)
     if (in_array($element-&gt;id, $followid))
     endif
  endforeach
  </code></pre>