title: Inner loop isn't filling in array
body: <p>Can any body explain what do I miss in that code ? </p>
  
  <p>Isn't the for-loop not a async processus ?</p>
  
  <p>Why the array keep being empty ?</p>
  
  <pre><code>var render = ["Element1","Element2","Element1","Element1","Element1"]
  
  var exhaustive = []
  
  for(var i=0;i&lt;render.length;i++) {
  
     for(var j = 0;j&lt;exhaustive.length;j++){
  
        if(!exhaustive[j]===render[i]){
  
            exhaustive.push(render[i])
        }
     }
  }
  
  console.log(exhaustive) // Expected result ["Element1","Element2"]
  </code></pre>