Javascript Array includes(entry)

Description

Javascript Array includes(entry)


Array.prototype.includes = function(entry) {
  return this.indexOf(entry) !== -1;
};



PreviousNext

Related