O'Reilly logo
  • Patrick S thinks this is interesting:

We can also pass arguments to a function. Arguments are variables with which a function is supposed to do something. The following code demonstrates how to use arguments with functions:

function output(text) {
    console.log(text);
}

From

Cover of Learning JavaScript Data Structures and Algorithms

Note

Arguments