O(n)zip takes two JSStrings and returns a list
of corresponding pairs of bytes. If one input JSString is
short, excess elements of the longer JSString are discarded.
This is equivalent to a pair of unpack operations.
O(n)zipWith generalises zip by zipping with the
function given as the first argument, instead of a tupling function.
Performs replacement on invalid scalar values.