|
TagDefault
@default
The @default TagThe @default tag allows you to document the default value of an object, including fields of classes. Syntax@default valueDescription
Example/** @constructor */
function Page(title) {
/**
* @default "Undefined"
*/
this.title = title || "Undefined";
}The @default tag is only recognized when applied to objects, it is not meaningful to use it with functions. See Also
|