I have the following array of objects:
[{key: "test", values: [{key: "2015-05", values: [{1:2}, {3:4}]}, {}], ...]
I want to filter by the key value to only be left with values after a certain date.
I currently have this, but the resulting the structure is wrong
_.map(temp1, function(value, key) { return _.filter(value.values, function(v) { return v.key > "2015-05"; }); });
_.mapand_.filterbut currently stuck." If you show us what you've tried (particularly the_.filterone), we can help you understand what's wrong with what you've done.