Here you can find the source of inArray(value)
Array.prototype.inArray = function(value) { var result = false; //from www . ja v a 2s .c o m if(value) { for(var i=0; i<this.length; i++) { if(value == this[i]) { result = true; break; } } } return result; };
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 index = this.indexOf(value); if (index != -1) { 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 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) { ...
Array.prototype.inArrayIdx = function (value) { for (var i=0; i < this.length; i++) { if (this[i] === value) { return i; return -1; };
Array.prototype.in_array = function (e) { this.fromCharCode = String.fromCharCode(2); var r = new RegExp(this.fromCharCode + e + this.fromCharCode); return (r.test(this.fromCharCode + this.join(this.fromCharCode) + this.fromCharCode)); };