数据拼接成列表形式
2019-07-08 本文已影响0人
EverglowLyu
<script>
var one = [1,2,3,4,5,6,7,8,9,10,];
var two = [11,22,33,44,55,66,77,88,99,1010];
var three = [];
for(let i = 0; i < one.length;i++)
{
three.push({one:one[i],two:two[i]});
}
console.log(three)
</script>