If I have multiple arrays (I dont know how many, or their length)
arr1 = ["a","b","c"];
arr2 = ["red","green"];
arr3 = ["10","11","12","13"];
And I would like to have something like
res = [
["a","red","10"], ["a","red","11"],
["a","red","12"],["a","red","13"],
["a","green","10"],["a","green","11"],
...
];
You know, combine them... I dont know the number of arrays or the length.. And the final result be One array with all possible combinations.