underscore.js 快速矩阵转置

Quick matrix transpose with underscore.js

快速矩阵转置的 underscore.js 等价物是什么,例如 Python 中的这个:

orig = [[1,2,3],[4,5,6],[7,8,9]]
print(zip(*orig))
# [(1, 4, 7), (2, 5, 8), (3, 6, 9)]

我不相信 Javascript 有位置参数扩展,那么将它提供给 _.zip([]) 的最快方法是什么?

知道了:

orig = [[1,2,3],[4,5,6],[7,8,9]];
_.zip.apply(_, orig);