sort by best latest
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:
You can help the HubPages community highlight top quality content by ranking this answer up or down.
For example, if you go to
Copyright © 2017 HubPages Inc. and respective owners. Other product and company names shown may be trademarks of their respective owners. HubPages® is a registered Service Mark of HubPages, Inc. HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.
Copyright © 2017 HubPages Inc. and respective owners.