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?