import { zip } from "https://deno.land/x/fae@v1.1.1/zip.ts";
Creates a new list out of two passed lists list1
, list2
by pairing up
equally-positioned pair in both the lists.
The returned is truncated to the length of the shorter of the two input lists.
Fae.zip([100, 200, 300], [1, 2, 3]) // [[1, 100], [2, 200], [3, 300]]