Closed animyeboah closed 5 years ago
How should we document in JSDoc the "Output" part of the example code?
I'm doing it like this:
/** ... * * @example * * var gd =new GlideDate(); * gd.setValue('2015-01-01'); * gs.info(gd.getDisplayValue()); * // Output: 2015-01-01
Just comment the expected output: * // 2015-01-01
* // 2015-01-01
How should we document in JSDoc the "Output" part of the example code?
I'm doing it like this: