I'm struggling to find information on how to combine multiple arrays of the same length into a multidimensional array.
For example, I have three arrays:
array1 = [value1a1, value2a1, value3a1];
array2 = [value1a2, value2a2, value3a2];
array3 = [value1a3, value2a3, value3a3];
I want to merge them into a single multidimensional array like this:
multiArray = [
[value1a1, value1a2, value1a3],
[value2a1, value2a2, value2a3],
[value3a1, value3a2, value3a3]
];
If you have any advice on the best method to achieve this, I would greatly appreciate it.