First input array.
Second input array.
Returns the Cartesian product of the two arrays a and b. For each element i in the specified array a and each element j in the specified array b, in order, invokes the specified reducer function passing the element i and element j.
First input array.
Second input array.
A reducer function taking as input an element from "a" and "b" and returning a reduced value.
Returns the Cartesian product of the two arrays a and b. For each element i in the specified array a and each element j in the specified array b, in order, it creates a two-element array for each pair.