delete elemnt in array ts code example
Example: typescript remove an item from array
myArray.splice(index, 1); // insert index and then amount to remove
// from that index
myArray.splice(index, 1); // insert index and then amount to remove
// from that index