Skip to main content

JSDoc Syntax

must begin with /**

must add * for each line

must end with */

example

/**
* Function to add two numbers
* @param {number} a
* @param {number} b
* @returns {number} a+b
*/

References