📜  从多个数组 javascript 代码示例生成值的组合

📅  最后修改于: 2022-03-11 15:04:00.343000             🧑  作者: Mango

代码示例2
function cartesian(...args) {
    var r = [], max = args.length-1;
    function helper(arr, i) {
        for (var j=0, l=args[i].length; j