Changes

Jump to: navigation, search

Comments in JavaScript

390 bytes added, 18:29, 13 June 2007
no edit summary
Commenting is considered to be good practice. Regardless of how well you understand the logic of some JavaScript, there is a good chance you may one day have to return to that script and modify it. Often this can be months, or even years, later and what seemed obvious to you at the time you wrote it may seem less obvious in the future. Also, it is often likely that some other person will have to work on your scripts in the future. For both these reasons it is a good idea to provide at least some basic amount of commenting in your scripts.
 
<hr>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[JavaScript Operators|Previous]]<td align="center">[[JavaScript Essentials|Table of Contents]]<td width="20%" align="right">[[JavaScript Flow Control and Looping|Next]]</td>
<tr>
<td width="20%">JavaScript Operators<td align="center"><td width="20%" align="right">JavaScript Flow Control and Looping</td>
</table>

Navigation menu