Function splice

  • Garbage free Array.splice(). Does not allocate a new array.

    Parameters

    • array: unknown[]
    • index: number
    • howmany: number = 1

    Returns void