Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Descriptive Comments for Functions

Developers often use descriptive comments in their programs for function documentation. The comments provide a high-level overview of what a function does, its parameters, and return value.

There is a standard syntax you can use to document functions -- it's known as JSDoc, and the format looks like this:

/**
 * [A short description of the myFunc fu...