Javascript Array include(val)

Description

Javascript Array include(val)

Array.prototype.include = function(val) {
  return this.index(val) !== null;
};



PreviousNext

Related