JavaScript - Basic (Procedural) Scripts

  • As noted in the section outlining Comments & External Documentation, each file should begin with a block comment detailing important information about the file. In addition to the information outlined in the previous section, you should also include the following information:
    • All global variables used.
  • Constants should be defined at the beginning of the file.
  • Any global variables should be declared after declaring constants.
  • Any functions should be present after declaring global variables.
  • All procedural code should be present after all functions have been declared and coded.
 
programming\javascript\basic_procedural_scripts · Last modified: 2008/01/22 17:32 by admin
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki