Hi basic question I'm struggling with
var objs = [ {name:'obj_1', evidence:[2] }, {name:'obj_2', evidence[1] } ]
I'd like to return an array of all 3 evidence objects
What I have so far is
_.filter(objs, function(obj) {
if (obj.evidence.length > 0) {
_.each(obj, function(x) { return x })
}
})