Array.splice(start: number,deleteCount?: number,): T[]
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
Array.splice(start: number,deleteCount?: number,): T[]
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.