Cross joins the array's values among the given arrays, returning a Cartesian product with all possible permutations
crossJoin([1, 2], ['a', 'b']); // [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]
Generated using TypeDoc
Cross joins the array's values among the given arrays, returning a Cartesian product with all possible permutations
Example