title: Check if 3 in a row array value is same
body: <p>I want to check if my array has 3 same values which are in a row.</p>
  
  <p>For example</p>
  
  <pre><code>var arr = ["g", "z", "z", "z" ]; // Must be true
  
  var arr = ["g", "z", "z", "v" ,"b", "b", "b"]; // Must be true
  
  var arr = ["z", "g", "z", "z"]; // Must be false
  </code></pre>
  
  <p><a href="https://jsfiddle.net/zw8erea3/" rel="nofollow noreferrer"><strong>JSFIDDLE</strong></a></p>
  
  <p><strong>How can we check it?</strong></p>