title: Javascript: How to remove only one value from duplicate array values
body: <p>I have an array <code>['2530491','2530491','2530491','2530492']</code> the <code>2530491</code> is duplicated thrice, and I want to remove a single value of 2530491 from 3 of them, so the output would be like : 
  <code>['2530491','2530491','2530492']</code>.</p>
  
  <pre><code>fileArrayAnnounce_size = jQuery.grep(fileArrayAnnounce_size, function(value){
    return value != file_size.metas[0].size;
  });
  </code></pre>
  
  <p>I try grip but it removes all value which same. I want to remove only a single value from duplicates.</p>