Javascript Array elementIncluded(element)

Description

Javascript Array elementIncluded(element)


Array.prototype.elementIncluded = function(element) {
  return this.indexOf(element) > -1;
};



PreviousNext

Related