6.2 - .onClick and .onLoad events.
This is an also an example of an anonymous function. The function that encloses the alert code doesn't need, and hence doesn't have, a name.
//Pattern is generally element.event. Basic example of this is document.onClick:
//Alert will execute if you click anywhere on the page.
document.onClick = function()
alert("You clicked on the DOM");
};