react-playground
    Preparing search index...

    Function zip

    • zip two arrays like Python's zip()

      Type Parameters

      • T
      • S

      Parameters

      • a: T[]
      • b: S[]

      Returns [T, S][]

      new array of [a[i], b[i]]