Posted By

psradich111 on 09/15/11


Tagged

object array remove


Versions (?)

Remove an object from an array


 / Published in: JavaScript
 

  1. Array.prototype.RemoveArrayElement = function(element) {p=this.lastIndexOf(element);if(p!= -1) { this.splice(p,1)}}

Report this snippet  

You need to login to post a comment.