pluck.js 226 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 define(['./map', '../function/prop'], function (map, prop) { /** * Extract a list of property values. */ function pluck(obj, propName){ return map(obj, prop(propName)); } return pluck; });