【发布时间】:2016-12-07 02:52:51
【问题描述】:
对于这样的功能...
function example() {
var X = 100;
...
var Y = 'abc';
...
return Z;
}
我需要解释一些局部变量的用途。添加这样的描述...
function example() {
/**
* @description - Need to explain the purpose of X here.
*/
var X = 100;
...
/**
* @description - Need to explain the purpose of Y here.
*/
var Y = 'abc';
...
return Z;
}
...似乎没有被JS Doc v3.4.0 接听。
正确的语法是什么?
附:我的一些用例需要多行 cmets。
【问题讨论】:
标签: javascript jsdoc jsdoc3