I have an array with the following structure :
var y = [{id:12,count:10}, {id:23,count:89}, {id:21,count:100},]
How can I remove element with id:23 ?
I am not willing to use to create a prototype method on the array Array.prototype.remove
Any pointers appreciated
Thanks
1 Answer