标签: javascript underscore.js
var arr = []; arr.push(["A", "B"]); arr.push(["A", "C"]); arr.push(["C", "D"]);
如何传递此数组数组以交叉到_.intersection()?
_.intersection()
由于_.intersection(arr)不起作用......
_.intersection(arr)
答案 0 :(得分:19)
也许_.intersection.apply(_, arr)?
_.intersection.apply(_, arr)