_.arrancar

//The _.pluck() function is used when we need to extract 
// a list of a given property
import * as _ from 'underscore'

const list = [{name: 'jack', age: 14}, {name: 'jill', age: 15}, {name: 'humpty', age: 16}];
console.log(_.pluck(list, 'age'));

// Output: [14,15,16]


Foolish Flatworm