test =
[
["qwe","1"],
["ewq","2"],
["aaa","4"],
]
I want to keep the number of arrays at four, fill in the empty array if there is a gap, and fill in according to the numbers in the array, but where to fill in
finish filling like this
test =
[
["qwe","1"],
["ewq","2"],
["",""],
["aaa","4"],
]
how do I achieve this requirement?