SOURCE

function Unzip(arr = []) {
    return arr.reduce(
        (t, v) => (v.forEach((w, i) => t[i].push(w)), t),
        Array.from({ length: Math.max(...arr.map(v => v.length)) }).map(v => [])
    );
}
 console.log(Unzip([["a", 1, true], ["b", 2, false]]))
console 命令行工具 X clear

                    
>
console