Argument lists are used to pass information into functions.
An argument list can have any of the following structures:
Empty - no arguments
A single argument
A series of arguments separated by commas
Each argument, if present, can be an expression which will be evaluated and whose resulting value will be used as the argument when it is passed to the function.
Prev | Home | Next |
Argument | Up | Arguments object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |