title: For Not Working and Not Adding Value to contador_NA Variable
body: <p>I got a array, and I want to now how many strings <code>NA</code> are in there. So I made a for loop to add <code>1</code> to the variable <code>contador_NA</code> every time it finds a <code>NA</code></p>
  
  <p>The variable <code>contador_NA</code> always returns <code>0</code>.</p>
  
  <pre><code>var contador_NA = 0
  
  for (var i = 0; i &lt; result.length; i++)
  {
      if (['imoveis'][i]['VALOR_CORRIGIDO_VENDA'] = "NA")
      {    
          contador_NA++;
      }
  }
  </code></pre>