I have a json array that looks like: var ad =[{'itemID':'195','issue':'first','buttonText':'First','date':1481200571','link':'https://example.com/link'},{'itemID':'197','issue':'ot
Solution 1:
There are many ways of doing it.
The ones that come to my mind:
filtering out an item:
ad = ad.filter(item => item.itemId != 'DELETED ID');
Post a Comment for "Remove Object From Json Array By Id After Delete From Db"