All new
alle new
This commit is contained in:
1 parent
da64472251
commit
5b20adee48
1605 files changed
+396517
-1674
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
import map from './map.js';
|
||||
import property from './property.js';
|
||||
|
||||
// Convenience version of a common use case of `_.map`: fetching a property.
|
||||
export default function pluck(obj, key) {
|
||||
return map(obj, property(key));
|
||||
}
|
||||
Reference in new issue
Block a user