Javascript Array in_array(val)

Description

Javascript Array in_array(val)


Array.prototype.in_array = function (val){
    return this.indexOf(val) >= 0;
};



PreviousNext

Related