1. Home
  2. Computing & Technology
  3. JavaScript

Argument

By Stephen Chapman, About.com

Definition: An Argument is a variable used by a function that has been passed to that function. The values for the arguments are passed as parameters when the function is called. The arguments are listed between parentheses immediately following the function name in the function declaration.
Alternate Spellings: arguement
Examples:
function displayCount(count,stop) {
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.