aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes how to create function with unlimited parameter? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "how to create function with unlimited parameter?" Watch "how to create function with unlimited parameter?" New topic
Author

how to create function with unlimited parameter?

Andreanes Yosef Vanderlee
Greenhorn

Joined: Mar 30, 2007
Posts: 12
hi there...
How can I make a function in javascript with unlimited number of parameters.
For example I can call

is there any reference should I read?

thanks,
Andre
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

The arguments are available in an array named arguments.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Andreanes Yosef Vanderlee
Greenhorn

Joined: Mar 30, 2007
Posts: 12
It works.. thanks a lot Bear Bibeault...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to create function with unlimited parameter?
 
Similar Threads
problem in closures
urgent...select ....option... doubt
print string from function and return true
which button is clicked
functions in javascript