Here you can find the source of include(x)
Array.prototype.include = function(x){ return this.indexOf(x) > -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); };
Array.prototype.include = function(value){ return this.indexOf(value) !== -1;
Array.prototype.includes = function(array) { for ( var i = 0; i < this.length; i++) { for ( var k = 0; k < array.length; k++) { if ( this[i] == array[k]) { return true; return false; ...
Array.prototype.includes = function(element) { return this.indexOf(element) !== -1; };
Array.prototype.includes = function(item) { return this.indexOf(item) > -1;
Array.prototype.includes = function(matcher) { var includes = false , arr = this; for( var j = 0, str; str = arr[j++]; ) { if( typeof str === "string" && str.includes(matcher) ) { includes = true; return includes; ...