Javascript Array diff(a, k)

Description

Javascript Array diff(a, k)

Array.prototype.diff = function (a, k) {
  return this.filter (function (i) { return a.column (k).indexOf (eval ("i." + k)) < 0; });
};



PreviousNext

Related