📅  最后修改于: 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