I want to combine some multiple arrays into one array.
I tried _.zip of lodash library, but that's not what I want.
Here is the arrays:
var arr1 = [
'a', 'b'
];
var arr2 = [
'c', 'd'
];
var arr3 = [
'e'
];
And I want this output:
var result = [
['a', 'c', 'e'],
['a', 'd', 'e'],
['b', 'c', 'e'],
['b', 'd', 'e']
];