title: Remove duplicate values array ionic3
body: <p>I would like to remove duplicate values in the storage array in Ionic3</p>
  
  <pre><code>this.storage.get('thestations').then((val) =&gt; { 
  
             for(let i =0;i&lt;val.length;i++){
              if(this.newarray.indexOf(this.newarray) == -1) {
              this.newarray.push(val[i]);
              } 
                  console.log(newarray);
  
        });
  </code></pre>
  
  <p>But it still return duplicates values</p>