var people = [ {firstName : \"Thein\", city : \"ny\", qty : 5}, {firstName : \"Michael\", city : \"ny\", qty : 3}, {firstName : \"Bloom\", city : \"nj\", qty
That one linear might save some lines:
var results=_.pick(_.where(people, {city : "ny"}), 'firstName', 'qty');