Javascript Array isContain(e)

Description

Javascript Array isContain(e)


//return the element is n array or not
Array.prototype.isContain = function(e) {

  return this.indexOf(e) != -1;

}



PreviousNext

Related