source: frontend/node_modules/underscore/cjs/pluck.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 238 bytes
Line 
1var map = require('./map.js');
2var property = require('./property.js');
3
4// Convenience version of a common use case of `_.map`: fetching a property.
5function pluck(obj, key) {
6 return map(obj, property(key));
7}
8
9module.exports = pluck;
Note: See TracBrowser for help on using the repository browser.