Javascript Array includes(property)

Description

Javascript Array includes(property)

Array.prototype.$includes = function(property) {
  return this.indexOf(property) >= 0;
};



PreviousNext

Related