From Overview of Advanced JavaScript -- Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 98. byTom Scavo,Geoffrey C. Fox
confirm is a method of the Window object
eval is a built-in JavaScript function (in NN2)
onClick is a JavaScript event handler
Note the user-defined names (aForm, expr, result) referred to in the script