SyntaxFix
Write A Post
Hire A Developer
Questions
My little contribution:
function isInArray(array, search) { return array.indexOf(search) >= 0; } //usage if(isInArray(my_array, "my_value")) { //... }