簡體   English   中英

我如何使用jsdoc做出此評論

[英]How can i make this comments with jsdoc

我如何使用jsdoc正確發表此評論。 有任何想法嗎???

   /**********************
* @variables : global variables
***************************/
var map; // this var handle the object related with the map
var image;
var currentMark;

只需在變量之前添加文檔注釋:

/** this var handle the object related with the map */
var map;
/** An image */
var image;
// Undocumented variables will not show up
var currentMark;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM