title: Filter array to have unique values
body: <p>I need to filter out my array to contain only unique values.
  this is my array data</p>
  
  <pre><code>["X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11", "X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11", "X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11", "X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11", "X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11", "X_row7", "X_row4", "X_row6", "X_row10", "X_row8", "X_row9", "X_row11"]
  </code></pre>
  
  <p>expected result should be</p>
  
  <pre><code>["X_row7", "X_row4", "X_row6", "X_row10", "X_row11", "X_row8", "X_row9"]
  </code></pre>
  
  <p>How should i continue my code to get proper result.</p>
  
  <pre><code>newArray = [];
  for(n in data){
    if(!newArray.indexOf(n)){
       newArray.push(n);
    }
  }
  console.log(newArray);
  </code></pre>
  
  <p>If you need any additional information's please let me know and i will provide. thank you</p>