根据lodash v3.10.1
的文档,it is possible使用_.zipObject
这样的内容:
_.zipObject([['fred', 30], ['barney', 40]]);
// => { 'fred': 30, 'barney': 40 }
但是在lodash v.4.15.0我,我开始说:
_.zipObject([['fred', 30], ['barney', 40]]);
{ 'fred,30': undefined, 'barney,40': undefined }