Hello everyone, I need assistance with manipulating this array:
[[2,3,0],[0,4,5]]
I am looking to rearrange this array as follows:
[[2,0],
[3,4],
[0,5]]
Does anyone have any suggestions on how to achieve this? I am using JavaScript for this project.