I have a JS object that looks something like this:
[{"local_id":8,"id":null,"review_name":"One"},
{"local_id":9,"id":null,"review_name":"too"}]
I want to strip the local_id from all of the objects in the array, so I end up with this :
[{"id":null,"review_name":"One"},
{"id":null,"review_name":"too"}]
I'm new to underscore, I thought I could use myVar = _.omit(myVar, 'local_id');
where myVar is the object above, but that does nothing.