var colors = ["red",undefined,"","blue",null,"crap"]; // remove undefined, null, "" and any other crap var cleanColors=_.without(colors,undefined,null,"","crap"); //cleanColors is now ["red","blue"];