Return to Snippet

Revision: 58717
at July 30, 2012 17:11 by maceblue


Initial Code
function in_array(item,arr) {
	for (p=0;p<arr.length;p++) if (item == arr[p]) return true;
	return false;
}

Initial URL

                                

Initial Description
like PHP function in_array

Initial Title
in_array (PHP-like)

Initial Tags

                                

Initial Language
JavaScript