Lodash部分函数
_.find( collection, predicate调用函数/条件, 起始位置)
遍历 collection(集合)元素,第一个返回真值的第一个元素。
predicate(断言函数)调用3个参数: (value, index|key, collection)。
断言函数可以写成集合或者值。
_.findIndex( collection, predicate调用函数/条件, 起始位置)
与find相同但返回索引。
_.map( collection , iterate=_.identity)
iteratee迭代函数(value, index/key, collection)
返回一个由iteratee遍及collection的新数组。
_.pick(object, [props])
创建一个从object选中的属性对象。
_.reject(collection, [predicate=._identity])
返回不满足断言函数条件的元素集合。