Lodash.filter help

trying to filter this list of values with lodash.filter:

keys = [ '_id',
 'key',
 'superuser',
 'dashboards',
 'tools',
 'reports',
 'acl_admin' ]

var res = _.filter(keys, function() { return ['key', '_id']} );

Expecting a filtered res list:


res = [ 
 'superuser',
 'dashboards',
 'tools',
 'reports',
 'acl_admin' ]

But res is still the same?

I thought filter was more for 3D collections of data. Have you tried using _.remove instead?