Pattern: Undocumented parameter
Issue: -
All function parameters must be documented with @param tags. Missing documentation makes it harder for other developers to understand how to use the function.
Example of incorrect code:
/**
* @param {string} name User's name
*/
function createUser(name, age, role) {}
Example of correct code:
/**
* @param {string} name User's name
* @param {number} age User's age
* @param {string} role User's role
*/
function createUser(name, age, role) {}