Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Create Functions Using Arrow Syntax 4:34
- Concise Arrow Function Syntax
- Arrow Functions Review 5 questions
- Default Function Parameters 5:11
- Create an Arrow Function 1 objective
- Descriptive Comments for Functions
- Function Challenge 1:24
- Function Challenge Solution 4:28
- Testing for Number Arguments 4:02
- JavaScript Functions Review 6 questions
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...