Variadic function: Difference between revisions

Content deleted Content added
Capmango (talk | contribs)
Added Javascript example
Capmango (talk | contribs)
Line 66:
== Variadic functions in JavaScript ==
In [[JavaScript]], the arguments to a function may be accessed as local variables within the function.
They also exist as members of a local array within the function, called '''arguments''' [http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Functions:arguments].
 
function printSpaced() {