假设我有四个现有的数组:var one = ["apple","banana","berry"];var two = ["fobar", "barfoo", "farboo"];var three = [13, 421];var four = ["seven", "eight", "eleven"];我如何将它们合并为一个数组并以最简单的方式将其返回?我得到的是var result = [1、2、3、4];导致|-----------------------------|| apple | banana | berry | | foobar | barfoo | farboo | | 13 | 421 | || seven | eight | eleven ||-----------------------------|但是,我真正需要的是:|------------------------------------|| apple | foobar | 13 | seven || banana | barfoo | 421 | eight || berry | farboo | | eleven ||------------------------------------|
添加回答
举报
0/150
提交
取消