JSDoc 中文网

语法

🌐 Syntax

@todo text describing thing to do.

概述

🌐 Overview

@todo 标签允许你记录需要完成的代码任务。你可以在单个 JSDoc 注释中多次使用 @todo 标签。

🌐 The @todo tag allows you to document tasks to be completed for some part of your code. You can use the @todo tag more than once in a single JSDoc comment.

示例

🌐 Examples

使用 @todo 标签
/**
 * @todo Write the documentation.
 * @todo Implement this function.
 */
function foo() {
    // write me
}