pluck.js 230 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 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; });