title: Javascript: Check to see if multiple array values are the same (order matters)
body: <p>If I have two arrays, lets say</p>
  
  <pre><code>[0, 0, 1, 1, 1, 0]
  [0, 1, 0, 1, 0, 1]
  </code></pre>
  
  <p>I would like to check if to see if the number 1 appears three times in order so that the first array would return true and the second would return false.</p>
  
  <p>I'm not really sure how to accomplish this (since order matters).</p>