Function Parameters
Learn how information can be passed into functions.
What you should understand
Read the lesson carefully, study the example, then use the editor below to experiment with the code yourself.
function add(a, b) {
return a + b;
}
console.log(add(10, 20));
Output
See what your code produces.
Test your understanding
Choose the best answer.
Which structure is used to store multiple values?