We can pass arbitrary data to functions using parameters (also called function arguments). In the example below, the function has two parameters: from and text.

function showMessage(name, text) { // arguments: name, text
  console.log(name + ': ' + text);
}

showMessage('Ann', 'Hello!'); // Ann: Hello! (*)
showMessage('Ann', "What's up?"); // Ann: What's up? (**)