34,333
edits
Changes
→Declaring and Calling a JavaScript Function
== Declaring and Calling a JavaScript Function ==
The syntax of a JavaScript fucntion function is as follows:
<pre>
</head>
<body>
<h1>Calling a function</h1>
<script language="JavaScript" type="text/javascript">
sayHello( "24th", "July" );
sayHello ( "1st", "August" );
sayHello ( "24th", "May" );
</script>
</body>
</html>
</pre>
<h1>Calling a function</h1>