Skip to content

Instantly share code, notes, and snippets.

@bipoza
Created October 17, 2021 08:32
Show Gist options
  • Save bipoza/bcfe55a3f193c24ec8d1ad9e7ffab992 to your computer and use it in GitHub Desktop.
Save bipoza/bcfe55a3f193c24ec8d1ad9e7ffab992 to your computer and use it in GitHub Desktop.
jsdoc
/**
* <function description>
* @param {<type>} param1 <description>
* @param {<type>} param2 <description>
* @param {<type>} param3 <description>
* @return {<type>} <description>
*/
Example
/**
* return full name of the user
* @param {string} firstName First Name of the User
* @param {string} lastName Last Name of the User
* @return {string} Fullname of the user
*/
function getFullName(firstName, lastName) {
return `${firstName} ${lastName}`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment