Here you can find the source of inArray(value)
// Determine wheter an element is in the array or not Array.prototype.inArray = function(value) { var index = this.indexOf(value); if (index != -1) { return true; }// w w w . j a v a2s . com return false; }
Array.prototype.inArray = function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return true; return false; }; ...
Array.prototype.inArray = function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] == value) return true; return false; };
Array.prototype.inArray = function (value) { for (var i=0; i < this.length; i++) { if (this[i] === value) { return true; return false; };
Array.prototype.inArray = function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] == value) { return true; return false; }; ...
Array.prototype.inArray = function (value) { for (var i=0; i < this.length; i++) { if (this[i] === value) { return true; return false; };
Array.prototype.inArray = function(value) { var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return true; return false; }; ...
Array.prototype.inArray = function(value) { var result = false; if(value) { for(var i=0; i<this.length; i++) { if(value == this[i]) { result = true; break; return result; };
Array.prototype.inArray = function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return true; return false; }; ...
Array.prototype.inArray = function (value,caseSensitive) { var i; for (i=0; i < this.length; i++) { if(caseSensitive){ if (this[i].toLowerCase() == value.toLowerCase()) { return true; }else{ if (this[i] == value) { ...