[Javascript] How do you return more than one values from a function ?

Peter Brunone peter at brunone.com
Tue Jul 6 10:35:28 CDT 2004


   I would suggest either (a) altering a form field or global variable, or (b) returning an array of values.

Cheers,

Peter Brunone
_______________
EasyListBox.com

Original Message:
>From: <dev at qroute.net>

>Is byref allowed in JS ? 
>
>function isValidEmail(emailStr, byref reason)
>{
>    reason='abc'
>    return false
>    // is something like this possible
>}





More information about the Javascript mailing list