Function concat

  • It will create a new array concatenating the input array with any additional arrays and/or values.

    Type Parameters

    • Value

    Parameters

    Returns Value[]

    Since

    1.0.0

    Example

    concat([1, 2], 3, [4], [[5]]);
    // => [1, 2, 3, 4, [5]]