Node.js examples for Array:Set Operation
Intersect array based set
Array.prototype.intersect = function(array){ return(this.filter(function(n){ return array.include(n); })); };