const List=[["a1","a2"],["b1","b2"]]
List is the data returned from the background. The length is not fixed, and the length of internal elements is not fixed. You want to combine it into the following format:
Program exited with status code of 0.
const res=[ [ "a1", "b1" ], [ "a1", "b2" ], [ "a2", "b1" ], [ "a2", "b2" ] ]
it has been going on for a long time. How can it be realized? Thank you.