Hi I delete an object in an array using two approaches:- splice and filter.
splice code here:-
(this.myArray).splice((this.myArray).indexOf(myobjec
In case you know the index using splice would be an O(1) operation while using filter is an O(n) operation.