在lodash中,如何通过发生索引从数组中获取对象,而不是搜索键值.
var tv = [{id:1},{id:2}] var data = //Desired result needs to be {id:2}
javascript lodash
javascript ×1
lodash ×1