Here you can find the source of inArray(val)
// use native index of to test for inclution Array.prototype.inArray = function(val) { return (this.indexOf(val) > -1) }
Array.prototype.inArray=function(needle){ for(var i=0;i<this.length;i++){ if(this[i]===needle){ return true; return false; var arr=["red","blue","yellow"]; ...
Array.prototype.inArray = function(needle) { for(var i=0; i < this.length; i++) { if(this[i] === needle) { return true; return false;
Array.prototype.inArray = function(p_val) { var l = this.length; for(var i = 0; i < l; i++) { if(this[i] == p_val) { return true; return false;
Array.prototype.inArray = function(val) { var l = this.length; for(var i = 0; i < l; i++) { if(this[i] == val) { return true; return false;
Array.prototype.inArray = function(val){ for (var key in this){ if(this[key] == val) 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) { 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; }; ...