interleave-array
interleaves values from arrays into a new array
examples
var interleave = // => ['a', 1, 'b', 2, 'c', 3]
it also works with more than two arrays and different types of objects:
interleaving is truncated at the length of the shortest provided array. for example:
// => [1, 2]
see also
loose-interleave
is similar but does not truncate to shortest.
license
MIT