On Jul 31, 11:44 am, fambizzari <[EMAIL PROTECTED]> wrote:
> In this case, how about adding the following
>
> function in_array(needle, haystack)

JS has an operator for that:

if( needle in haystack ) ...

i only learned that after i wrote a native C function to add the
feature to SpiderMonkey :/.

Reply via email to