* Gets the property value of `path` from all elements in `collection`. * * @static * @memberOf _ * @category Collection * @param {Array|Object|string} collection The collection to iterate over. * @param {Array|string} path The path of the property to pluck. * @retu
(collection, path)
| 8281 | * // => [36, 40] (iteration order is not guaranteed) |
| 8282 | */ |
| 8283 | function pluck(collection, path) { |
| 8284 | return map(collection, property(path)); |
| 8285 | } |
| 8286 | |
| 8287 | /** |
| 8288 | * Reduces `collection` to a value which is the accumulated result of running |