Underscore: remove all key/value pairs from an array of object
For Omit
_.map(arr, _.partial(_.omit, _, 'c'));
For Pick
_.map(arr, _.partial(_.pick, _, 'q'));
For Omit
_.map(arr, _.partial(_.omit, _, 'c'));
For Pick
_.map(arr, _.partial(_.pick, _, 'q'));