You can treat args as an array.

 

Rick Winscot

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Manu Dhanda
Sent: Wednesday, July 16, 2008 1:56 AM
To: [email protected]
Subject: [flexcoders] function foo(... args) { ;}

 


How to access the parameters passed in the function like this:

function foo(... args) 
{
// How to access the passed arguments here.
}

Thanks.
-- 
View this message in context:
http://www.nabble.com/function-foo%28...-args%29-%7B--%7D-tp18480729p1848072
9.html
Sent from the FlexCoders mailing list archive at Nabble.com.

 

Reply via email to