Content deleted Content added
Added Javascript example |
m →Variadic functions in JavaScript: added reference |
||
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() {
|