Delete a value from array - Node.js Array

Node.js examples for Array:Array Value

Description

Delete a value from array

Demo Code

Array.prototype.delete = function(value){
  return(this.filter(function(n){ return n != value; }));
};

Related Tutorials