JS doc example with advanced parameters

PHOTO EMBED

Sun Jun 13 2021 06:35:55 GMT+0000 (Coordinated Universal Time)

Saved by @dsottimano

/**
 * Description here
 * @param {Number} [num] - a number that's optional
 * @param {Object} employee - The employee who is responsible for the project.
 * @param {string} employee.name - The name of the employee.
 * @param {string} employee.department - The employee's department.
 * @return {Array[]}
 */
content_copyCOPY