let arr1=['a','b','c'];
    let arr2=[1,2,3];
    let arr3 = []
    for(var i = 0;i<arr1.length;i++){
      arr3.push([arr1[i],arr2[i]])
    }
    console.log(arr3);//[['a', 1],['b', 2],['c', 3]]

huyouooo
35 声望0 粉丝