http://lodash.think2011.net/pick
创建一个从 object
中选中的属性的对象。
来源对象
要选中的属性名,单独指定或指定在数组中
返回新对象
var object = { ‘a‘: 1, ‘b‘: ‘2‘, ‘c‘: 3 };
_.pick(object, [‘a‘, ‘c‘]);
// => { ‘a‘: 1, ‘c‘: 3 }
原文:https://www.cnblogs.com/mengfangui/p/9199616.html