by rendall · 4y ago · 0 comments
// Function: Multiply
// Multiplies two integers and returns the result.
int Multiply (int x, int y)
{ return x * y; }
JSDoc, by contrast, uses the code itself and it's not necessary to duplicate the name. /** Multiplies two integers and returns the result. */
int Multiply (int x, int y)
{ return x * y; }
I might recommend the addition of this feature, if I understood the intent of the project correctly.