How do I remove an item[i] from items once it reaches in:
$.each(items, function(i) { // how to remove this from items });
the solution is below:
_.each(data, function (item, queue) { if (somecondition) { delete data[queue] } });