A Simple alert()
The code used in this example:
var surname = "Cooper"; alert(surname);