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