It's as simple as writing the name of the function. This website has a good example: http://www.webdevelopersnotes.com/tutorials/javasc...
which I will reproduce below. The following code creates a function named alert_box():
alert("I am displayed by a function");
In order to call the function, you would simply write: