A function is a piece of program wrapped in a value. For example, the variable alert holds a function that shows a little dialog box with a message. We've already seen the alert function and how it displays the value that you pass in between the parenthesis:

alert('Hello!') ;