Variadic function: Difference between revisions

m
use <var> for placeholders
m (use <var> for placeholders)
Line 411:
printAll(4, 3, 5);
printAll("Rosetta", "Code", "Is", "Awseome!");</lang>
The <code><ivar>function</ivar>.arguments</code> property is equivalent to the <code>arguments</code> variable above, but is deprecated.
 
You can use the <tt>apply</tt> method of a function to apply it to a list of arguments: