let arr1 = ['a','b','c'];let arr2 = ['d','e','f'];怎么才能变成let arr3 = [{'key1':'a','key2':'d'},{'key1':'b','key2':'e'},{'key1':'c','key2':'f'}];
2 回答
慕的地8271018
TA贡献1796条经验 获得超4个赞
let arr1 = ['a','b','c'];let arr2 = ['d','e','f'];
怎么才能变成
let arr3 = [{'key1':'a','key2':'d'},{'key1':'b','key2':'e'},{'key1':'c','key2':'f'}];
偶然的你
TA贡献1841条经验 获得超3个赞
let arr1 = ['a','b','c'];let arr2 = ['d','e','f'];
怎么才能变成
let arr3 = [{'key1':'a','key2':'d'},{'key1':'b','key2':'e'},{'key1':'c','key2':'f'}];
添加回答
举报
0/150
提交
取消