Return to Snippet

Revision: 6878
at June 23, 2008 05:34 by zb3k


Initial Code
var in_array = function(s,a) {for(var k in a) if(a[k]==s) return 1; return 0;}

Initial URL

                                

Initial Description

                                

Initial Title
in_array compact version

Initial Tags
search, array

Initial Language
JavaScript