You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The multiline comment section says all multiline comments need to use the jsdoc syntax /** */. Is this right? Does the author mean "All jsdoc comments" instead of "multiline"?
Otherwise, it doesn't really make sense if we use jsdoc where we're not documenting a variable, class, or function
/** * This function does XYZ */functionxyz(){/** * This chunk of code does this because we don't like to do it the other way. * Otherwise, zombie apocalypse. */consta=b+1;doSomething(a);/** * Here we're just having fun if nothing happens * Busines continues as usual */doSomething(b)}
The text was updated successfully, but these errors were encountered:
that's quite strange, would you say my above code is correct? Shouldn't it be like below?
/** * This function does XYZ */functionxyz(){// This chunk of code does this because we don't like to do it the other way.// Otherwise, zombie apocalypse. consta=b+1;doSomething(a);// Here we're just having fun if nothing happens// Busines continues as usualdoSomething(b)}
The multiline comment section says all multiline comments need to use the jsdoc syntax
/** */
. Is this right? Does the author mean "All jsdoc comments" instead of "multiline"?Otherwise, it doesn't really make sense if we use jsdoc where we're not documenting a variable, class, or function
The text was updated successfully, but these errors were encountered: