Javascript - JsDoc

> (World Wide) Web - (W3|WWW) > Javascript (Js|ECMAScript)

1 - About

JavaScript Documentation Tool (JSDoc) is a tool that parses inline documentation in JavaScript source files, and produces an documentation of the JavaScript code.

JSDoc is based on javadoc tool that was created for the same purpose for the Java programming language.

Advertising

3 - Example

/**
* @param myParam1
* @param myParam2
*/
function loadDocs(myParam1, myParam2){}
 
 
/**
 * @memberOf   myLib
 * or
 * @name       myLib.MyDynamicallyLoadedModule
 */
var MyDynamicallyLoadedModule = {};

4 - Documentation / Reference

web/javascript/jsdoc.txt · Last modified: 2019/02/16 17:40 by gerardnico