34,333
edits
Changes
no edit summary
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[JavaScript Flow Control and Looping|Previous]]<td align="center">[[JavaScript Essentials|Table of Contents]]<td width="20%" align="right">[[JavaScript Object Basics|Next]]</td>
<tr>
<td width="20%">JavaScript Flow Control and Looping<td align="center"><td width="20%" align="right">JavaScript Object Basics</td>
</table>
<hr>
JavaScript functions provide a way to organize scripts and promote re-use. Rather than create long sections of script scattered throughout an HTML page, the script is instead organized into logical groups. JavaScript functions are simple to use, in fact you only need to do two things with a function, declare it and call it.