• Creates a new array concatenating array with any additional arrays and/or values.

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 1,563 bytes
    • Micro-dash: 61 bytes

    Type Parameters

    • T

    Parameters

    • array: readonly T[]
    • Rest ...values: (T | readonly T[])[]

    Returns T[]