given an array [{"id":"66859","value":"Discontinued"},{"id":null,"value":null}], i want to remove the objects that have id value of null.
is it possible using underscore? or any other javascript method
Very simple with Array.prototype.filter()
var arr = data.filter((item)=>{return item.id});