I have an array
data = [
0 3x abcd aezakmi 900
1 2x defg panjer 800
2 1x hijk flyhigh 750
]
I want to convert it to this
data = [
[`{0}{3x}{abcd}{aezakmi}{900}`]
[`{1}{2x}{defg}{panjer}{900}`]
[`{2}{1x}{jijk}{flyhigh}{700}`]
]
so that I can map them easily in the table.
I changed array, because he had syntax error. Maybe this code is not ideal, but he work.