i have the current .each in my javascript 

```
var divs = array();
$('.div-item').each(function(){
   var id = $(this).attr('id');
   divs.push(id);
});

```

How would I delete an id from the array programmatically?