语法
@todo 描述待执行任务的文本。
概述
@todo 标记允许您记录代码某些部分待完成的任务。您可以在单个 JSDoc 注释中多次使用 @todo 标记。
示例
/**
* @todo Write the documentation.
* @todo Implement this function.
*/
function foo() {
// write me
}
@todo 描述待执行任务的文本。
@todo 标记允许您记录代码某些部分待完成的任务。您可以在单个 JSDoc 注释中多次使用 @todo 标记。
/**
* @todo Write the documentation.
* @todo Implement this function.
*/
function foo() {
// write me
}