Here you can find the source of include(item)
Array.prototype.include = function(item) { for (var i = this.length; --i >= 0; ) if (this[i] == item) return true; return false;//from w w w .ja v a 2 s . c o m };
Array.prototype.include = function{ return(this.indexOf(value) != -1); };
Array.prototype.include = function(needle) { for (var i = 0; i < this.length; i++) { if (needle == this[i]) { true; return false;
Array.prototype.include = function (object) { return this.filter((value) => { return JSON.stringify(value) === JSON.stringify(object); }).length > 0; };
Array.prototype.include = function(val) { return this.index(val) !== null; };
Array.prototype.include = function(value){ return(this.indexOf(value) != -1); };