pluck.js 238 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 var map = require('./map.js'); var property = require('./property.js'); // Convenience version of a common use case of `_.map`: fetching a property. function pluck(obj, key) { return map(obj, property(key)); } module.exports = pluck;